Simple Shape Images
23 nodes
On this page 23
Draw Circle Shape
FunctionDraws a circle with the specified radius.
DrawCircleShape -> Pixel Image
radius: Integer
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
antialias: TruthPixelImage DrawCircleShape(
int radius,
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| radius | Integer | — | The radius of the circle. |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Cone Geometry
FunctionThis node carries no documentation.
DrawConeGeometry -> Pixel Image
width: Number
height: Number
depth: Number
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
fillColor: Optional Color
antialias: TruthPixelImage DrawConeGeometry(
double width = 512,
double height = 640,
double depth = 220,
ColorElement? strokeColor,
float strokeWidth = 3f,
ColorElement? backgroundColor,
float padding = 32f,
ColorElement? fillColor,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Number | 512 | |
| height | Number | 640 | |
| depth | Number | 220 | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 3 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 32 | |
| fillColor | Optional Color | — | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Cube Geometry
FunctionThis node carries no documentation.
DrawCubeGeometry -> Pixel Image
size: Number
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
fillFaces: Truth
faceFillColor: Optional Color
antialias: TruthPixelImage DrawCubeGeometry(
double size = 512,
ColorElement? strokeColor,
float strokeWidth = 3f,
ColorElement? backgroundColor,
float padding = 32f,
bool fillFaces = false,
ColorElement? faceFillColor,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| size | Number | 512 | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 3 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 32 | |
| fillFaces | Truth | False | |
| faceFillColor | Optional Color | — | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Cuboid Geometry
FunctionThis node carries no documentation.
DrawCuboidGeometry -> Pixel Image
width: Number
height: Number
depth: Number
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
fillFaces: Truth
faceFillColor: Optional Color
antialias: TruthPixelImage DrawCuboidGeometry(
double width = 640,
double height = 420,
double depth = 260,
ColorElement? strokeColor,
float strokeWidth = 3f,
ColorElement? backgroundColor,
float padding = 32f,
bool fillFaces = false,
ColorElement? faceFillColor,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Number | 640 | |
| height | Number | 420 | |
| depth | Number | 260 | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 3 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 32 | |
| fillFaces | Truth | False | |
| faceFillColor | Optional Color | — | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Curves
FunctionDraws (closed) curves/polygons.
DrawCurves -> Pixel Image
shapes: GeometryDrawShapesCollection
outline: Color
fill: Color
background: Color
drawFill: Truth
outlineThickness: Integer
width: Integer
height: IntegerPixelImage DrawCurves(
GeometryDrawShapesCollection shapes,
ColorElement outline,
ColorElement fill,
ColorElement background,
bool drawFill,
int outlineThickness = 3,
int width = 512,
int height = 512)Parameters
| name | type | default | description |
|---|---|---|---|
| shapes | GeometryDrawShapesCollection | — | |
| outline | Color | — | |
| fill | Color | — | |
| background | Color | — | |
| drawFill | Truth | — | |
| outlineThickness | Integer | 3 | |
| width | Integer | 512 | How many pixels wide the picture is; the frame the shapes were drawn in covers the whole of it. |
| height | Integer | 512 | How many pixels tall the picture is. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Cylinder Geometry
FunctionThis node carries no documentation.
DrawCylinderGeometry -> Pixel Image
width: Number
height: Number
depth: Number
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
fillColor: Optional Color
antialias: TruthPixelImage DrawCylinderGeometry(
double width = 512,
double height = 640,
double depth = 220,
ColorElement? strokeColor,
float strokeWidth = 3f,
ColorElement? backgroundColor,
float padding = 32f,
ColorElement? fillColor,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Number | 512 | |
| height | Number | 640 | |
| depth | Number | 220 | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 3 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 32 | |
| fillColor | Optional Color | — | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Distance Fields
FunctionDraws shapes filled as distance fields.
DrawDistanceFields -> Pixel Image
shapes: GeometryDrawShapesCollection
positive: Color
negative: Color
direction: DistanceFieldDirection
falloff: DistanceFieldFalloffType
falloffDistance: Integer
width: Integer
height: IntegerPixelImage DrawDistanceFields(
GeometryDrawShapesCollection shapes,
ColorElement positive,
ColorElement negative,
DistanceFieldDirection direction,
DistanceFieldFalloffType falloff,
int falloffDistance = 15,
int width = 512,
int height = 512)Parameters
| name | type | default | description |
|---|---|---|---|
| shapes | GeometryDrawShapesCollection | — | |
| positive | Color | — | |
| negative | Color | — | |
| direction | DistanceFieldDirection | — | |
| falloff | DistanceFieldFalloffType | — | |
| falloffDistance | Integer | 15 | How far the field falls off, in the picture's pixels. |
| width | Integer | 512 | How many pixels wide the picture is; the frame the shapes were drawn in covers the whole of it. |
| height | Integer | 512 | How many pixels tall the picture is. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Ellipse Shape
FunctionDraws an ellipse within the specified width and height.
DrawEllipseShape -> Pixel Image
width: Integer
height: Integer
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
rotationDegrees: Low Accuracy Number
antialias: TruthPixelImage DrawEllipseShape(
int width,
int height,
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float rotationDegrees = 0f,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Integer | — | |
| height | Integer | — | |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Equilateral Triangle Shape
FunctionDraws an equilateral triangle within the specified dimensions and optionally labels edges and angles.
DrawEquilateralTriangleShape -> Pixel Image
width: Integer
height: Integer
leftOrRight: Truth
showEdgeNames: Truth
showAngleSymbols: Truth
vertexNames: Text
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
rotationDegrees: Low Accuracy Number
labelFontSize: Integer
labelColor: Optional Color
antialias: TruthPixelImage DrawEquilateralTriangleShape(
int width,
int height,
bool leftOrRight = true,
bool showEdgeNames = false,
bool showAngleSymbols = false,
string vertexNames = "ABC",
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float rotationDegrees = 0f,
int labelFontSize = 14,
ColorElement? labelColor,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Integer | — | The width of the drawing area. |
| height | Integer | — | The height of the drawing area. |
| leftOrRight | Truth | True | If true, the triangle is left-aligned; if false, it is right-aligned. |
| showEdgeNames | Truth | False | If set to true, labels the vertices with letters. |
| showAngleSymbols | Truth | False | If set to true, labels the angles with their measures. |
| vertexNames | Text | ABC | |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| labelFontSize | Integer | 14 | |
| labelColor | Optional Color | — | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Hexagon Shape
FunctionOverload 1 of 2
DrawHexagonShape -> Pixel Image
radius: Number
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
startAngleDegrees: Low Accuracy Number
rotationDegrees: Low Accuracy Number
antialias: TruthPixelImage DrawHexagonShape(
double radius,
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float startAngleDegrees = -90f,
float rotationDegrees = 0f,
bool antialias = true)Draws a regular hexagon inscribed in a circle with the specified radius.
Parameters
| name | type | default | description |
|---|---|---|---|
| radius | Number | — | The radius of the circumscribed circle. |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| startAngleDegrees | Low Accuracy Number | -90 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
Overload 2 of 2
DrawHexagonShape -> Pixel Image
width: Integer
height: Integer
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
startAngleDegrees: Low Accuracy Number
rotationDegrees: Low Accuracy Number
antialias: TruthPixelImage DrawHexagonShape(
int width,
int height,
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float startAngleDegrees = -90f,
float rotationDegrees = 0f,
bool antialias = true)Draws a regular hexagon that fits within the specified width and height.
Parameters
| name | type | default | description |
|---|---|---|---|
| width | Integer | — | The width of the drawing area. |
| height | Integer | — | The height of the drawing area. |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| startAngleDegrees | Low Accuracy Number | -90 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Line Shape
FunctionDraws a line segment.
DrawLineShape -> Pixel Image
width: Integer
height: Integer
x1: Low Accuracy Number
y1: Low Accuracy Number
x2: Low Accuracy Number
y2: Low Accuracy Number
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
antialias: Truth
strokeCap: SKStrokeCapPixelImage DrawLineShape(
int width,
int height,
float x1,
float y1,
float x2,
float y2,
ColorElement? strokeColor,
float strokeWidth = 2f,
ColorElement? backgroundColor,
bool antialias = true,
SKStrokeCap strokeCap = SKStrokeCap.Round)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Integer | — | |
| height | Integer | — | |
| x1 | Low Accuracy Number | — | |
| y1 | Low Accuracy Number | — | |
| x2 | Low Accuracy Number | — | |
| y2 | Low Accuracy Number | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 2 | |
| backgroundColor | Optional Color | — | |
| antialias | Truth | True | |
| strokeCap | SKStrokeCap | Round |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Oval Shape
FunctionDraws an oval with the specified major and minor radii.
DrawOvalShape -> Pixel Image
majorRadius: Integer
minorRadius: Integer
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
rotationDegrees: Low Accuracy Number
antialias: TruthPixelImage DrawOvalShape(
int majorRadius,
int minorRadius,
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float rotationDegrees = 0f,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| majorRadius | Integer | — | The major radius (half of the width) of the oval. |
| minorRadius | Integer | — | The minor radius (half of the height) of the oval. |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Pentagon Shape
FunctionOverload 1 of 2
DrawPentagonShape -> Pixel Image
radius: Number
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
startAngleDegrees: Low Accuracy Number
rotationDegrees: Low Accuracy Number
antialias: TruthPixelImage DrawPentagonShape(
double radius,
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float startAngleDegrees = -90f,
float rotationDegrees = 0f,
bool antialias = true)Draws a regular pentagon inscribed in a circle with the specified radius.
Parameters
| name | type | default | description |
|---|---|---|---|
| radius | Number | — | The radius of the circumscribed circle. |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| startAngleDegrees | Low Accuracy Number | -90 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
Overload 2 of 2
DrawPentagonShape -> Pixel Image
width: Integer
height: Integer
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
startAngleDegrees: Low Accuracy Number
rotationDegrees: Low Accuracy Number
antialias: TruthPixelImage DrawPentagonShape(
int width,
int height,
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float startAngleDegrees = -90f,
float rotationDegrees = 0f,
bool antialias = true)Draws a regular pentagon that fits within the specified width and height.
Parameters
| name | type | default | description |
|---|---|---|---|
| width | Integer | — | The width of the drawing area. |
| height | Integer | — | The height of the drawing area. |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| startAngleDegrees | Low Accuracy Number | -90 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Polygon Shape
FunctionDraws a regular polygon with the specified number of sides inscribed within the given width and height.
DrawPolygonShape -> Pixel Image
width: Integer
height: Integer
sides: Integer
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
startAngleDegrees: Low Accuracy Number
rotationDegrees: Low Accuracy Number
fitMode: Polygon Fit Mode
antialias: TruthPixelImage DrawPolygonShape(
int width,
int height,
int sides,
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float startAngleDegrees = -90f,
float rotationDegrees = 0f,
SimpleShapeImages.PolygonFitMode fitMode = PolygonFitMode.FitWidthAndHeight,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Integer | — | The width of the drawing area. |
| height | Integer | — | The height of the drawing area. |
| sides | Integer | — | The number of sides of the polygon (minimum 3). |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| startAngleDegrees | Low Accuracy Number | -90 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| fitMode | Polygon Fit Mode | Fit width and height | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Pyramid Geometry
FunctionThis node carries no documentation.
DrawPyramidGeometry -> Pixel Image
width: Number
height: Number
depth: Number
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
fillFaces: Truth
faceFillColor: Optional Color
antialias: TruthPixelImage DrawPyramidGeometry(
double width = 640,
double height = 500,
double depth = 320,
ColorElement? strokeColor,
float strokeWidth = 3f,
ColorElement? backgroundColor,
float padding = 32f,
bool fillFaces = false,
ColorElement? faceFillColor,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Number | 640 | |
| height | Number | 500 | |
| depth | Number | 320 | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 3 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 32 | |
| fillFaces | Truth | False | |
| faceFillColor | Optional Color | — | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Quadrilateral Shape
FunctionDraws a quadrilateral with the specified width, height, and slanted angle.
DrawQuadrilateralShape -> Pixel Image
width: Integer
height: Integer
angleInDegrees: Number
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
rotationDegrees: Low Accuracy Number
antialias: TruthPixelImage DrawQuadrilateralShape(
int width,
int height,
double angleInDegrees = 12,
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float rotationDegrees = 0f,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Integer | — | The width of the drawing area. |
| height | Integer | — | The height of the drawing area. |
| angleInDegrees | Number | 12 | The angle in degrees to slant one side. |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Rectangle Shape
FunctionDraws a rectangle with the specified width and height.
DrawRectangleShape -> Pixel Image
width: Integer
height: Integer
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
cornerRadius: Low Accuracy Number
rotationDegrees: Low Accuracy Number
antialias: TruthPixelImage DrawRectangleShape(
int width,
int height,
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float cornerRadius = 0f,
float rotationDegrees = 0f,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Integer | — | The width of the rectangle. |
| height | Integer | — | The height of the rectangle. |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| cornerRadius | Low Accuracy Number | 0 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Right Triangle Shape
FunctionDraws a right triangle with the specified dimensions and optional edge and angle labels.
Overload 1 of 2
DrawRightTriangleShape -> Pixel Image
width: Integer
height: Integer
rightAngleCorner: Right Triangle Corner
showEdgeNames: Truth
showAngleSymbols: Truth
vertexNames: Text
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
rotationDegrees: Low Accuracy Number
labelFontSize: Integer
labelColor: Optional Color
antialias: TruthPixelImage DrawRightTriangleShape(
int width,
int height,
SimpleShapeImages.RightTriangleCorner rightAngleCorner = RightTriangleCorner.BottomLeft,
bool showEdgeNames = false,
bool showAngleSymbols = false,
string vertexNames = "ABC",
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float rotationDegrees = 0f,
int labelFontSize = 14,
ColorElement? labelColor,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Integer | — | The width of the drawing area. |
| height | Integer | — | The height of the drawing area. |
| rightAngleCorner | Right Triangle Corner | Bottom left | The corner where the right angle is placed. |
| showEdgeNames | Truth | False | If set to true, labels the vertices with letters. |
| showAngleSymbols | Truth | False | If set to true, labels the right angle with its measure. |
| vertexNames | Text | ABC | |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| labelFontSize | Integer | 14 | |
| labelColor | Optional Color | — | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
Overload 2 of 2
DrawRightTriangleShape -> Pixel Image
width: Integer
height: Integer
leftOrRight: Truth
showEdgeNames: Truth
showAngleSymbols: TruthPixelImage DrawRightTriangleShape(
int width,
int height,
bool leftOrRight,
bool showEdgeNames,
bool showAngleSymbols)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Integer | — | The width of the drawing area. |
| height | Integer | — | The height of the drawing area. |
| leftOrRight | Truth | — | If true, the right angle is at the left side; if false, it is at the right side. |
| showEdgeNames | Truth | — | If set to true, labels the vertices with letters. |
| showAngleSymbols | Truth | — | If set to true, labels the right angle with its measure. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Sphere Geometry
FunctionDraw a lit 3D sphere.
DrawSphereGeometry -> Pixel Image
width: Number
height: Number
radius: NumberPixelImage DrawSphereGeometry(
double width = 1024,
double height = 1024,
double radius = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Number | 1024 | Width of image |
| height | Number | 1024 | Height of image |
| radius | Number | 1 | Radius of sphere in 3D space. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Square Shape
FunctionDraws a square with the specified size.
DrawSquareShape -> Pixel Image
size: Integer
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
cornerRadius: Low Accuracy Number
rotationDegrees: Low Accuracy Number
antialias: TruthPixelImage DrawSquareShape(
int size,
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float cornerRadius = 0f,
float rotationDegrees = 0f,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| size | Integer | — | The length of each side of the square. |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| cornerRadius | Low Accuracy Number | 0 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Star Shape
FunctionDraws a star polygon.
DrawStarShape -> Pixel Image
width: Integer
height: Integer
points: Integer
innerRadiusRatio: Low Accuracy Number
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
startAngleDegrees: Low Accuracy Number
rotationDegrees: Low Accuracy Number
antialias: TruthPixelImage DrawStarShape(
int width,
int height,
int points = 5,
float innerRadiusRatio = 0.45f,
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float startAngleDegrees = -90f,
float rotationDegrees = 0f,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Integer | — | |
| height | Integer | — | |
| points | Integer | 5 | |
| innerRadiusRatio | Low Accuracy Number | 0.45 | |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| startAngleDegrees | Low Accuracy Number | -90 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Text
FunctionHandles both single line and multi line
DrawText -> Pixel Image
text: Text
padding: Integer
fontSize: Integer
fontFamily: Text
color: Optional Color
textAlign: SKTextAlign
background: Optional Color
lineSpacing: Low Accuracy Number
semibold: Truth
italic: Truth
antialias: TruthPixelImage DrawText(
string text,
int padding = 10,
int fontSize = 46,
string fontFamily = "Verdana",
ColorElement? color,
SKTextAlign textAlign = SKTextAlign.Center,
ColorElement? background,
float lineSpacing = 1.15f,
bool semibold = true,
bool italic = true,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | |
| padding | Integer | 10 | |
| fontSize | Integer | 46 | |
| fontFamily | Text | Verdana | |
| color | Optional Color | — | |
| textAlign | SKTextAlign | Center | |
| background | Optional Color | — | |
| lineSpacing | Low Accuracy Number | 1.15 | |
| semibold | Truth | True | |
| italic | Truth | True | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing
Draw Triangle Shape
FunctionDraws a triangle with the specified width and height.
DrawTriangleShape -> Pixel Image
width: Integer
height: Integer
direction: Triangle Direction
fillColor: Optional Color
strokeColor: Optional Color
strokeWidth: Low Accuracy Number
backgroundColor: Optional Color
padding: Low Accuracy Number
rotationDegrees: Low Accuracy Number
antialias: TruthPixelImage DrawTriangleShape(
int width,
int height,
SimpleShapeImages.TriangleDirection direction = TriangleDirection.Up,
ColorElement? fillColor,
ColorElement? strokeColor,
float strokeWidth = 0f,
ColorElement? backgroundColor,
float padding = 0f,
float rotationDegrees = 0f,
bool antialias = true)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Integer | — | The width of the drawing area. |
| height | Integer | — | The height of the drawing area. |
| direction | Triangle Direction | Up | |
| fillColor | Optional Color | — | |
| strokeColor | Optional Color | — | |
| strokeWidth | Low Accuracy Number | 0 | |
| backgroundColor | Optional Color | — | |
| padding | Low Accuracy Number | 0 | |
| rotationDegrees | Low Accuracy Number | 0 | |
| antialias | Truth | True |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Simple Shape Images
- Package
- Image Processing