Class StrokeFormat
Stroke properties for a path.
Inherited Members
Namespace: DRIT.Pdf.Content
Assembly: DRIT.Pdf.dll
Syntax
public sealed class StrokeFormat
Properties
Color
Gets or sets the stroke color. Default is Black.
Declaration
public PdfColor Color { get; set; }
Property Value
| Type | Description |
|---|---|
| PdfColor |
DashPattern
Gets or sets the dash pattern. Default is Solid.
Declaration
public LineDashPattern DashPattern { get; set; }
Property Value
| Type | Description |
|---|---|
| LineDashPattern |
IsApplied
Gets or sets whether stroke is applied to the path.
Declaration
public bool IsApplied { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LineCap
Gets or sets the line cap style. Default is Butt.
Declaration
public PdfLineCap LineCap { get; set; }
Property Value
| Type | Description |
|---|---|
| PdfLineCap |
LineJoin
Gets or sets the line join style. Default is Miter.
Declaration
public PdfLineJoin LineJoin { get; set; }
Property Value
| Type | Description |
|---|---|
| PdfLineJoin |
MiterLimit
Gets or sets the miter limit for sharp corners. Default is 10.0.
Declaration
public double MiterLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Opacity
Gets or sets the stroke opacity (0.0 to 1.0). Default is 1.0.
Declaration
public double Opacity { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Width
Gets or sets the stroke width in points. Default is 1.0.
Declaration
public double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| double |