DisplayPen Class |
Namespace: Rhino.Display
The DisplayPen type exposes the following members.
Name | Description | |
---|---|---|
DisplayPen | Initializes a new instance of the DisplayPen class |
Name | Description | |
---|---|---|
CapStyle |
How caps are drawn at the ends of open curves
| |
Color |
Color applied to stroke
| |
HaloColor |
Halos are blended colors drawn around a curve for purposes like selection
| |
HaloThickness |
Halos are blended colors drawn around a curve for purposes like selection
| |
JoinStyle |
How corners of curves are joined
| |
PatternBySegment |
Restart patterns at corners in a curve
| |
PatternLengthInWorldUnits |
If true, lengths in pattern definition are interpreted to be in world
units. If false, screen pixel distances are used.
| |
PatternOffset |
Offset to apply to pattern. If RhinoMath.UnsetSingle, then pattern
is centered to keep even dash lengths at ends
| |
Thickness |
Thickness for stroke
| |
ThicknessSpace |
Coordinate system for the pen's thickness
|
Name | Description | |
---|---|---|
Duplicate |
Create a duplicate of this display pen.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FromLinetype |
Create a display pen that matches a linetype definition
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PatternAsArray |
Get the pattern for this pen as an array of dash,gap,dash,gap... values
| |
SetPattern |
Set pattern to apply for a stroke.
| |
SetTaper |
Positions and thickness at those positions along a curve that define a taper.
| |
TaperAsArray |
Collection of positions and thicknesses at those positions to define a taper
Rhino currently only supports either no taper or a single taper. An array is
used here in case Rhino supports multiple taper values in the future.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |