Class PdfDrawStyle
PDF line's style
Inheritance
System.Object
PdfDrawStyle
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Media.PDF.Styling
Assembly: Azos.Media.dll
Syntax
public class PdfDrawStyle : IPdfWritable
Constructors
PdfDrawStyle()
Declaration
public PdfDrawStyle()
PdfDrawStyle(PdfColor)
Declaration
public PdfDrawStyle(PdfColor fillColor)
Parameters
Type | Name | Description |
---|---|---|
PdfColor | fillColor |
PdfDrawStyle(Single)
Declaration
public PdfDrawStyle(float strokeThickness)
Parameters
Type | Name | Description |
---|---|---|
System.Single | strokeThickness |
PdfDrawStyle(Single, PdfColor)
Declaration
public PdfDrawStyle(float strokeThickness, PdfColor strokeColor)
Parameters
Type | Name | Description |
---|---|---|
System.Single | strokeThickness | |
PdfColor | strokeColor |
PdfDrawStyle(Single, PdfColor, PdfLineType)
Declaration
public PdfDrawStyle(float strokeThickness, PdfColor strokeColor, PdfLineType strokeType)
Parameters
Type | Name | Description |
---|---|---|
System.Single | strokeThickness | |
PdfColor | strokeColor | |
PdfLineType | strokeType |
Properties
FillColor
Declaration
public PdfColor FillColor { get; set; }
Property Value
Type | Description |
---|---|
PdfColor |
StrokeColor
Declaration
public PdfColor StrokeColor { get; set; }
Property Value
Type | Description |
---|---|
PdfColor |
StrokeThickness
Declaration
public float? StrokeThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |
StrokeType
Declaration
public PdfLineType? StrokeType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<PdfLineType> |
Methods
ToPdfString()
Returns PDF string representation
Declaration
public string ToPdfString()
Returns
Type | Description |
---|---|
System.String |