Graphical object subtypes – lines, boxes, circles, arcs and paths – are drawn with a stroke pattern that can be configured in detail.
Returns the stroke settings of the object, which must be a line, box, circle, arc or path
object. The return value is a list of parameters:
- stroke width, as an integer number of world units
- cap style, one of the symbols
none,squareorround.- dash style, one of the symbols
solid,dotted,dashed,centerorphantom.- up to two dash parameters, depending on the dash style:
- for solid lines, no parameters;
- for dotted lines, dot spacing;
- for other styles, dot/dash spacing and dash length.
Set the stroke settings of the object, which must be a line, box, circle, arc or path
object. The arguments are the same as the contents of the list returned byobject-stroke. Returns object.
Returns the integer stroke width of object, which must be a line, box, circle, arc or path
object.
Returns the stroke cap style of object, which must be a line, box, circle, arc or path
object. The returned value is one of the symbolsnone,squareorround.
Returns the dash style of object, which must be a line, box, circle, arc or path
object. The return value is a list of between one and three parameters:
- dash style, one of the symbols
solid,dotted,dashed,centerorphantom.- for styles other than
solid, dot/dash spacing;- for
dashed,centerandphantom, dash length.
Some types of object – boxes, circles and paths – can have
their interiors filled with a variety of patterns.
Returns the fill settings of object, which must be a box, circle or path
object. The return value is a list of one to six parameters:
- fill style, one of the symbols
hollow,solid,meshorhatch;- up to five fill parameters, depending on fill style:
- none for
holloworsolidfills;- line width, line angle (in degrees) and line spacing for
hatchfills;- line width, first angle and spacing, and second angle and spacing for
meshfills.