See: Description
Class | Description |
---|---|
Arc |
{..., "arc", x, y, width, height, startAngle, arcAngle...}
(x,y): top-left point of rectangle enclosing arc
width: width of rectangle enclosing arc
height: height of rectangle enclosing arc
angles in degrees
startAngle = 0: three O'Clock position
arcAngle positive: counter-clockwise rotation
arcAngle negative: clockwise rotation
|
Circle |
{...,"circle", center-x, center-y, radius,...}
|
ClosedLineCurvePath |
{...,"closed-line-curve-path", x0, y0, <connection-type> , <connection-type-args>, ...
|
DrawColor |
{...,"color", color-object,...}
|
FillArc |
{..., "fill-arc", x, y, width, height, startAngle, arcAngle...}
(x,y): top-left point of rectangle enclosing arc
width: width of rectangle enclosing arc
height: height of rectangle enclosing arc
angles in degrees
startAngle = 0: three O'Clock position
arcAngle positive: counter-clockwise rotation
arcAngle negative: clockwise rotation
|
FillCircle |
{...,"fill-circle", center-x, center-y, radius,...}
|
FillLineCurvePath |
{...,"fill-line-curve-path", x0, y0, <connection-type> , <connection-type-args>, ...
|
FillOval |
{...,"fill-oval", x, y, width, height,...}
(x,y): top left coordinate
|
FillPolygon |
{...,"fill-polygon", n, x1, y1, ...
|
FillRectangle |
{..., "fill-rectangle", x, y, width, height, ...}
|
Line |
{..., "line", x1, y1, x2, y2, ...}
|
LineCurvePath |
{...,"line-curve-path", x0, y0, <connection-type> , <connection-type-args>, ...
|
LineDash |
{...,"line-dash", n, phase, length_1, length_2, ..., length_n,...}
with the exception of n, all values scaled to [0;1] and relative to minimum(width, height)
n = 0 - resets BasicStroke to continuous opaque lines
n = 1 - equal spaced opaque and transparent line sections
n > 1 - pattern of alternated lengths of opaque and transparent line sections
phase argument only for n > 0
|
LinePath |
{...,"line-path", n, x1, y1, ...
|
LineWidth |
{...,"line-width", width,...}
width relative to coordinate system [0;1]
relative to minimum of {width,height}
a zero width (0.0) resets BasicStroke width 1.0
|
Oval |
{...,"oval", x, y, width, height,...}
(x,y): top left coordinate
|
Polygon |
{...,"polygon", n, x1, y1, ...
|
Rectangle |
{..., "rectangle", x, y, width, height, ...}
|
Shape | |
ShapeGelem | |
Shapes |