LineType Class
LineType class.
The pattern defines pen-up lengths (spaces), pen-down lengths (dashes), and dots.
A pattern specifies the length of segments that make up the linetype. A positive
decimal number specifies a pen-down (dash) segment of that length. A negative decimal
number specifies a pen-up (space) segment of that length. Zero specifies a dot. For
example, the DASHDOT linetype is defined by a repeating pattern starting with a dash
0.5 drawing units long, a space 0.25 drawing units long, a dot, and another space 0.25
drawing units long.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
|
Name
|
Description
|
|
Description
|
Gets or sets the line type description.
|
|
Length
|
Gets the length of the line type pattern.
|
|
Name
|
Gets or sets line type name.
|
|
Pattern
|
Gets the line type pattern.
|
Top
|
Name
|
Description
|
|
CheckPattern(float[], bool, out float)
|
Checks if the pattern has: more than one value, alternate sign for penDown/penUp or values are not all zero.
|
|
Clone()
|
Creates a new object that is a copy of the current instance.
|
|
ConvertToSurrogate()
|
|
|
Equals(LineType)
|
Compares line type names ignoring cases.
|
|
Finalize
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(inherited from Object).
|
|
GetHashCode()
|
|
|
GetKey()
|
|
|
GetObjectData(SerializationInfo, StreamingContext)
|
Populates a SerializationInfo instance with the data needed to serialize the target object.
|
|
GetPatternVertices(int, Point3D[], float, out List<Point3D>, out List<Point3D>, Transformation)
|
Computes the pattern from the given vertices and returns the lines and points that represent it.
|
|
GetPenDowns(Segment3D, float[], float, out Segment3D[], ref int, ref double)
|
|
|
GetType
|
Gets the Type of the current instance.
(inherited from Object).
|
|
MemberwiseClone
|
Creates a shallow copy of the current Object.
(inherited from Object).
|
|
OnKeyChanged(string, string)
|
When the Name changes I need to notify it to the related keyed collections before changing it.
|
|
SetKey(string)
|
|
|
ToString()
|
|
Top
.NET Framework
Supported in: 4.8