For version 0.7.0.
To top.  Up: ..Shapes

..Shapes..Traits


Nested namespaces
BW Blend Cap Device Join Light RGB

Core bindings
NO_MASK alphaopacity alphashape @blend @blendspace @cap @dash dashpattern @join @miterlimit newColorInterpolator @nonstroking @nonstrokingalpha @stroking @strokingalpha @width

The ..Shapes..Traits namespace is organized with basic and general things directly at the top, while constants are grouped inside nested namespaces. There is also the Light namespace that gathers the more advanced features of light and reflections.
The bindings in this namespace are closely related to the graphics state parameters in pdf.
Many of these dynamic variables can be set to a §Void value, which means that painted objects do not specify the property for themselves, but inherit the property from the context where they appear. This feature is a low-level pdf trick, and the effects may be (or at least seem) unpredictable.
Strokes
@width
Used by:
Type:( §Length §Void )
Default binding:1 bp
Constraint:@width0 bp
Intended to be used as the width when paths are stroked. A value of 0 bp has a special meaning in pdf, being that the stroke shall be as thin as possible without dissappearing on the rendering device. On high resolution printers, this may result in a line which is very hard to read, while such a line shall allways be clearly visible on a computer screen.
Note that if the width is inherited from the context, it will not be possible to compute a correct bounding box of a stroked object.
@stroking
Used by:
Type:( §Color §Void )
Default binding:BW..BLACK
Color used when paths are stroked.
See also:@strokingalpha
@cap
Used by:
Type:( §CapStyle §Void )
Default binding:Cap..BUTT
Line cap style.
@join
Used by:
Type:( §JoinStyle §Void )
Default binding:Join..MITER
Line join style.
See also:@miterlimit
@miterlimit
Used by:
Type:( §Float §Void )
Default binding:10
Constraint:@miterlimit1
Miter limit value to use when @join is Join..MITER.
@dash
Used by:
Type:( §Dash §Void )
Default binding:[dashpattern]
Dash pattern to use for strokes. (The default value gives solid lines.)
See also:dashpattern
dashpattern
<>::{§Length} §Dash
Dynamic references:none
Creates a dash pattern from a sequence of lengths, to be used with @dash.
If called with no arguments, the constructed pattern gives a solid line. Otherwise, the lengths determine where along a stroked line the pen shall be switched between on and off, with the pen initially being on.
Note that a dash pattern can be scaled and shifted by means of operators, see §Dash.
@strokingalpha
Used by:
Type:( §Alpha §Void )
Default binding:[shape 1]
Alpha settings for stroking operations.
See also:alphashape alphaopacity @stroking
Fills
@nonstroking
Used by:
Type:( §Color §Void )
Default binding:BW..BLACK
Color used when paths are filled (or, more generally, anything but stroked). (The name is inherited from pdf.)
See also:@nonstrokingalpha
@nonstrokingalpha
Used by:
Type:( §Alpha §Void )
Default binding:[shape 1]
Alpha settings for nonstroking operations.
See also:alphashape alphaopacity @nonstroking
Color and transparency
@blend
Used by:
Type:( §BlendMode §Void )
Default binding:Blend..NORMAL
Blend mode.
@blendspace
Used by:
Type:§ColorSpace
Default binding:(inherited)
Color space for blending.
alphashape
::§Float §Alpha
Dynamic references:none
Creates a shape alpha value (refer to the pdf reference for details), to be used with @strokingalpha and @nonstrokingalpha.
See also:alphaopacity alphamask ..Shapes..Graphics..clip
alphaopacity
::§Float §Alpha
Dynamic references:none
Creates an opacity alpha value (refer to the pdf reference for details), to be used with @strokingalpha and @nonstrokingalpha.
See also:alphashape alphamask ..Shapes..Graphics..clip
newColorInterpolator
This is a hot value.
Spawns:§•ColorInterpolator
Miscellaneous
NO_MASK
Type:§SoftMask
Value for , which — unlike alphamask and luminositymask — indicates that transparent imaging shall not be used.
Get Shapes at SourceForge.net. Fast, secure and Free Open Source software downloads