• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class StrokeFormat

Stroke properties for a path.

Inheritance
object
StrokeFormat
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX