PdfLineStyle Class |
Namespace: Atalasoft.PdfDoc.Generating.Rendering
The PdfLineStyle type exposes the following members.
Name | Description | |
---|---|---|
PdfLineStyle(Double) |
Initializes a new instance of the PdfLineStyle class with defaults, except for the width.
| |
PdfLineStyle(PdfLineStyle) |
Initializes a new instance of the PdfLineStyle class using the contents of the PdfLineStyle passed in.
| |
PdfLineStyle(PdfLineStyle, Double) |
Initializes a new instance of the PdfLineStyle class.
| |
PdfLineStyle(Double, PdfLineCapStyle, PdfLineJoinStyle, Double, Double, Int32) |
Constructs a new instance of the PdfLineStyle class.
|
Name | Description | |
---|---|---|
CapStyle |
Gets or sets the line cap style.
| |
DashPattern |
Gets or sets the dash pattern used for lines. This is an array of doubles that represents alternating on and
off patterns of dashes in PDF units. An empty array is a solid line. A single number is alternated on and off (ie,
[4] will be 4 units on, 4 units off). More than a single number will be alternated. Default is an empty array.
| |
DashPhase |
Gets or sets the dash phase. This number represents at what point dashes will start in the DashPattern. For example,
if the DashPattern is [2, 3] and the phase is 1, the dashed line will be 1 unit on, 3 off, 2 on, 3 off, etc.
| |
Default |
Gets the default line style: 1 PDF unit wide, butt line ends, mitered joints, a miter limit of 10, no dash pattern, 0 phase.
| |
JoinStyle |
Gets or sets the line join style.
| |
MiterLimit |
Gets or sets the miter limit when JoinStyle is set to Mitered. When segments join with a mitered joint at sharp
angles, MiterLimit keeps the joints from projecting too far. The miter length of a joint is this distance from
the internal intersection of the line to the projected external intersection. If the ration of the miter length to the
line width is greater than the miter limit, the joint will be beveled.
| |
Width |
Gets or sets the width of the line in PDF units.
|
Name | Description | |
---|---|---|
Clone |
Creates a new object that is a copy of the current instance.
| |
Equals |
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(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.) | |
GetHashCode |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |