I am interested in creating some custom shapes and found this code posted by Chris:
Code:
{
shapes = (
{
InspectorGroup = 1.5;
ShapeName = "OpenBox";
FillPath = {
elements = (
{element = MOVETO; point = "{-0.5, -0.5}"; },
{element = LINETO; point = "{0.5, -0.5}"; },
{element = LINETO; point = "{0.5, 0.5}"; },
{element = LINETO; point = "{-0.5, 0.5}"; },
{element = CLOSE; }
);
};
StrokePath = {
elements = (
{element = MOVETO; point = "{-0.5, -0.5}"; },
{element = LINETO; point = "{-0.5, 0.5}"; },
{element = LINETO; point = "{0.5, 0.5}"; },
{element = LINETO; point = "{0.5, -0.5}"; }
);
};
}
);
}
Can someone direct me to any documentation that describes which commands are available i.e. in addition to LineTo and MoveTo. For example is it possible to draw a box with two solid lines and two dashed?
best wishes
Simon