Click or drag to resize

PdfLineStyle Class

Represents all the elements that defines the style of stoked lines in PDF content.
Inheritance Hierarchy
SystemObject
  Atalasoft.PdfDoc.Generating.RenderingPdfLineStyle

Namespace:  Atalasoft.PdfDoc.Generating.Rendering
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
[SerializableAttribute]
public class PdfLineStyle : ICloneable

The PdfLineStyle type exposes the following members.

Constructors
  NameDescription
Public methodPdfLineStyle(Double)
Initializes a new instance of the PdfLineStyle class with defaults, except for the width.
Public methodPdfLineStyle(PdfLineStyle)
Initializes a new instance of the PdfLineStyle class using the contents of the PdfLineStyle passed in.
Public methodPdfLineStyle(PdfLineStyle, Double)
Initializes a new instance of the PdfLineStyle class.
Public methodPdfLineStyle(Double, PdfLineCapStyle, PdfLineJoinStyle, Double, Double, Int32)
Constructs a new instance of the PdfLineStyle class.
Top
Properties
  NameDescription
Public propertyCapStyle
Gets or sets the line cap style.
Public propertyDashPattern
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.
Public propertyDashPhase
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.
Public propertyStatic memberDefault
Gets the default line style: 1 PDF unit wide, butt line ends, mitered joints, a miter limit of 10, no dash pattern, 0 phase.
Public propertyJoinStyle
Gets or sets the line join style.
Public propertyMiterLimit
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.
Public propertyWidth
Gets or sets the width of the line in PDF units.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also