interface EditImageNodeParameters {
backgroundColor?: string;
blur?: number;
borderColor?: string;
borderHeight?: number;
borderWidth?: number;
color?: string;
cornerRadius?: number;
dataPropertyName?: string;
dataPropertyNameComposite?: string;
degreesX?: number;
degreesY?: number;
endPositionX?: number;
endPositionY?: number;
fontColor?: string;
fontSize?: number;
height?: number;
lineLength?: number;
operation?:
| "create"
| "text"
| "blur"
| "border"
| "composite"
| "crop"
| "draw"
| "information"
| "multiStep"
| "resize"
| "rotate"
| "shear"
| "transparent";
operations?: {
operations: {
backgroundColor?: string;
blur?: number;
borderColor?: string;
borderHeight?: number;
borderWidth?: number;
color?: string;
cornerRadius?: number;
dataPropertyNameComposite?: string;
degreesX?: number;
degreesY?: number;
endPositionX?: number;
endPositionY?: number;
font?: string;
fontColor?: string;
fontSize?: number;
height?: number;
lineLength?: number;
operation?: | "create"
| "text"
| "blur"
| "border"
| "composite"
| "crop"
| "draw"
| "resize"
| "rotate"
| "shear"
| "transparent";
operator?: | "Add"
| "Atop"
| "Bumpmap"
| "Copy"
| "CopyBlack"
| "CopyBlue"
| "CopyCyan"
| "CopyGreen"
| "CopyMagenta"
| "CopyOpacity"
| "CopyRed"
| "CopyYellow"
| "Difference"
| "Divide"
| "In"
| "Minus"
| "Multiply"
| "Out"
| "Over"
| "Plus"
| "Subtract"
| "Xor";
positionX?: number;
positionY?: number;
primitive?: "circle"
| "line"
| "rectangle";
resizeOption?:
| "ignoreAspectRatio"
| "maximumArea"
| "minimumArea"
| "onlyIfLarger"
| "onlyIfSmaller"
| "percent";
rotate?: number;
sigma?: number;
startPositionX?: number;
startPositionY?: number;
text?: string;
width?: number;
}[];
};
operator?: | "Add"
| "Atop"
| "Bumpmap"
| "Copy"
| "CopyBlack"
| "CopyBlue"
| "CopyCyan"
| "CopyGreen"
| "CopyMagenta"
| "CopyOpacity"
| "CopyRed"
| "CopyYellow"
| "Difference"
| "Divide"
| "In"
| "Minus"
| "Multiply"
| "Out"
| "Over"
| "Plus"
| "Subtract"
| "Xor";
options?: {
fileName?: string;
font?: string;
format?: | "png"
| "bmp"
| "gif"
| "jpeg"
| "tiff"
| "webp";
quality?: number;
};
positionX?: number;
positionY?: number;
primitive?: "circle"
| "line"
| "rectangle";
resizeOption?:
| "ignoreAspectRatio"
| "maximumArea"
| "minimumArea"
| "onlyIfLarger"
| "onlyIfSmaller"
| "percent";
rotate?: number;
sigma?: number;
startPositionX?: number;
startPositionY?: number;
text?: string;
width?: number;
}
Properties§
Source§readonly blur?: number
readonly blur?: number
How strong the blur should be Default: 5 Type options: {"minValue":0,"maxValue":1000}
Source§readonly color?: string
readonly color?: string
The color of the primitive to draw Default: "#ff000000" Type options: {"showAlpha":true}
Source§readonly data Property Name?: string
readonly data Property Name?: string
Name of the binary property in which the image data can be found Default: "data"
Source§readonly data Property Name Composite?: string
readonly data Property Name Composite?: string
The name of the binary property which contains the data of the image to composite on top of image which is found in Property Name
Source§readonly height?: number
readonly height?: number
The height of the image to create Default: 50 Type options: {"minValue":1}
Source§readonly line Length?: number
readonly line Length?: number
Max amount of characters in a line before a line-break should get added Default: 80 Type options: {"minValue":1}
Source§readonly operation?:
| "create"
| "text"
| "blur"
| "border"
| "composite"
| "crop"
| "draw"
| "information"
| "multiStep"
| "resize"
| "rotate"
| "shear"
| "transparent"
readonly operation?:
| "create"
| "text"
| "blur"
| "border"
| "composite"
| "crop"
| "draw"
| "information"
| "multiStep"
| "resize"
| "rotate"
| "shear"
| "transparent"
Default: "border"
Source§readonly operations?: {
operations: {
backgroundColor?: string;
blur?: number;
borderColor?: string;
borderHeight?: number;
borderWidth?: number;
color?: string;
cornerRadius?: number;
dataPropertyNameComposite?: string;
degreesX?: number;
degreesY?: number;
endPositionX?: number;
endPositionY?: number;
font?: string;
fontColor?: string;
fontSize?: number;
height?: number;
lineLength?: number;
operation?:
| "create"
| "text"
| "blur"
| "border"
| "composite"
| "crop"
| "draw"
| "resize"
| "rotate"
| "shear"
| "transparent";
operator?: | "Add"
| "Atop"
| "Bumpmap"
| "Copy"
| "CopyBlack"
| "CopyBlue"
| "CopyCyan"
| "CopyGreen"
| "CopyMagenta"
| "CopyOpacity"
| "CopyRed"
| "CopyYellow"
| "Difference"
| "Divide"
| "In"
| "Minus"
| "Multiply"
| "Out"
| "Over"
| "Plus"
| "Subtract"
| "Xor";
positionX?: number;
positionY?: number;
primitive?: "circle"
| "line"
| "rectangle";
resizeOption?:
| "ignoreAspectRatio"
| "maximumArea"
| "minimumArea"
| "onlyIfLarger"
| "onlyIfSmaller"
| "percent";
rotate?: number;
sigma?: number;
startPositionX?: number;
startPositionY?: number;
text?: string;
width?: number;
}[];
}
readonly operations?: {
operations: {
backgroundColor?: string;
blur?: number;
borderColor?: string;
borderHeight?: number;
borderWidth?: number;
color?: string;
cornerRadius?: number;
dataPropertyNameComposite?: string;
degreesX?: number;
degreesY?: number;
endPositionX?: number;
endPositionY?: number;
font?: string;
fontColor?: string;
fontSize?: number;
height?: number;
lineLength?: number;
operation?:
| "create"
| "text"
| "blur"
| "border"
| "composite"
| "crop"
| "draw"
| "resize"
| "rotate"
| "shear"
| "transparent";
operator?: | "Add"
| "Atop"
| "Bumpmap"
| "Copy"
| "CopyBlack"
| "CopyBlue"
| "CopyCyan"
| "CopyGreen"
| "CopyMagenta"
| "CopyOpacity"
| "CopyRed"
| "CopyYellow"
| "Difference"
| "Divide"
| "In"
| "Minus"
| "Multiply"
| "Out"
| "Over"
| "Plus"
| "Subtract"
| "Xor";
positionX?: number;
positionY?: number;
primitive?: "circle"
| "line"
| "rectangle";
resizeOption?:
| "ignoreAspectRatio"
| "maximumArea"
| "minimumArea"
| "onlyIfLarger"
| "onlyIfSmaller"
| "percent";
rotate?: number;
sigma?: number;
startPositionX?: number;
startPositionY?: number;
text?: string;
width?: number;
}[];
}
The operations to perform Default: {} Type options: {"multipleValues":true,"sortable":true}
Source§readonly operator?:
| "Add"
| "Atop"
| "Bumpmap"
| "Copy"
| "CopyBlack"
| "CopyBlue"
| "CopyCyan"
| "CopyGreen"
| "CopyMagenta"
| "CopyOpacity"
| "CopyRed"
| "CopyYellow"
| "Difference"
| "Divide"
| "In"
| "Minus"
| "Multiply"
| "Out"
| "Over"
| "Plus"
| "Subtract"
| "Xor"
readonly operator?:
| "Add"
| "Atop"
| "Bumpmap"
| "Copy"
| "CopyBlack"
| "CopyBlue"
| "CopyCyan"
| "CopyGreen"
| "CopyMagenta"
| "CopyOpacity"
| "CopyRed"
| "CopyYellow"
| "Difference"
| "Divide"
| "In"
| "Minus"
| "Multiply"
| "Out"
| "Over"
| "Plus"
| "Subtract"
| "Xor"
The operator to use to combine the images Default: "Over"
Source§readonly options?: {
fileName?: string;
font?: string;
format?:
| "png"
| "bmp"
| "gif"
| "jpeg"
| "tiff"
| "webp";
quality?: number;
}
readonly options?: {
fileName?: string;
font?: string;
format?:
| "png"
| "bmp"
| "gif"
| "jpeg"
| "tiff"
| "webp";
quality?: number;
}
Default: {}
Source§readonly primitive?: "circle" | "line" | "rectangle"
readonly primitive?: "circle" | "line" | "rectangle"
The primitive to draw Default: "rectangle"
Source§readonly resize Option?:
| "ignoreAspectRatio"
| "maximumArea"
| "minimumArea"
| "onlyIfLarger"
| "onlyIfSmaller"
| "percent"
readonly resize Option?:
| "ignoreAspectRatio"
| "maximumArea"
| "minimumArea"
| "onlyIfLarger"
| "onlyIfSmaller"
| "percent"
How to resize the image Default: "maximumArea"
Source§readonly rotate?: number
readonly rotate?: number
How much the image should be rotated Type options: {"minValue":-360,"maxValue":360}
The background color of the image to create Default: "#ffffff00" Type options: {"showAlpha":true}