Reference
Drawing from code
2D nodes
-
GeomDisc2DGeom.Nodes. A disc, pie, ring or arc placed on the canvas.Disc2D -
GeomLine2DGeom.Nodes. A line segment on the canvas.Line2D -
GeomPolygon2DGeom.Nodes. A filled polygon with any number of points, on the canvas.Polygon2D -
GeomPolyline2DGeom.Nodes. A path on the canvas.Polyline2D -
GeomQuad2DGeom.Nodes. A quad through four points on the canvas, in order.Quad2D -
GeomRect2DGeom.Nodes. A rectangle placed on the canvas.Rect2D -
GeomRegularPolygon2DGeom.Nodes. A regular polygon on the canvas.RegularPolygon2D -
GeomTriangle2DGeom.Nodes. A triangle on the canvas.Triangle2D
Flat shapes in 3D
-
GeomDiscGeom.Nodes. A disc, pie, ring or arc placed in 3D space.Disc -
GeomLineGeom.Nodes. A line segment in 3D space.Line -
GeomPolygonGeom.Nodes. A filled polygon with any number of points, in 3D space.Polygon -
GeomPolylineGeom.Nodes. A path in 3D space.Polyline -
GeomQuadGeom.Nodes. A quad through four points in 3D space, in order.Quad -
GeomRectGeom.Nodes. A rectangle placed in 3D space.Rect -
GeomRegularPolygonGeom.Nodes. A regular polygon in 3D space.RegularPolygon -
GeomTriangleGeom.Nodes. A triangle in 3D space.Triangle
3D solids
Resources
-
GeomDashGeom.Resources. Dash settings for a shape'sDash dashslot. -
GeomFillAngularGeom.Resources. A gradient that travels around a shape's sweep.FillAngular -
GeomFillCornersGeom.Resources. A color at each corner, interpolated across the shape. On the canvasFillCorners ais top-left and the rest follow clockwise; in 3Dais bottom-left and the rest follow counterclockwise. -
GeomFillLinearGeom.Resources. A gradient along an axis.FillLinear -
GeomFillRadialGeom.Resources. A gradient from the middle of a shape to its edge.FillRadial
Enums
- ThicknessSpace SPACE_WORLD, SPACE_VIEWPORT_PIXELS, SPACE_VIEWPORT_PERCENT
- LineEndCap CAP_NONE, CAP_SQUARE, CAP_ROUND
- LineGeometry LINE_BILLBOARD, LINE_VOLUMETRIC
- PolylineJoin JOIN_SIMPLE, JOIN_MITER, JOIN_ROUND, JOIN_BEVEL
- BlendMode BLEND_OPAQUE, BLEND_TRANSPARENT, BLEND_ADDITIVE, BLEND_MULTIPLY, BLEND_SUBTRACT, BLEND_TRANSPARENT_DEPTH
- DashSpace DASH_WORLD, DASH_RELATIVE, DASH_FIXED_COUNT
- DashSnap SNAP_OFF, SNAP_TILING, SNAP_END_TO_END
- DashType DASH_BASIC, DASH_ANGLED, DASH_ROUNDED
- DiscType DISC_DISC, DISC_PIE, DISC_RING, DISC_ARC