Class RectangleElement
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.Elements
Assembly: Azos.Media.dll
Syntax
public class RectangleElement : PdfElement, IPdfObject
Constructors
RectangleElement(Single, Single, Single, Single)
Declaration
public RectangleElement(float x1, float y1, float x2, float y2)
Parameters
Type | Name | Description |
---|---|---|
System.Single | x1 | |
System.Single | y1 | |
System.Single | x2 | |
System.Single | y2 |
RectangleElement(Single, Single, Single, Single, PdfDrawStyle)
Declaration
public RectangleElement(float x1, float y1, float x2, float y2, PdfDrawStyle borderStyle)
Parameters
Type | Name | Description |
---|---|---|
System.Single | x1 | |
System.Single | y1 | |
System.Single | x2 | |
System.Single | y2 | |
PdfDrawStyle | borderStyle |
Properties
Style
Declaration
public PdfDrawStyle Style { get; set; }
Property Value
Type | Description |
---|---|
PdfDrawStyle |
X1
Declaration
public float X1 { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Y1
Declaration
public float Y1 { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
Write(PdfWriter)
Declaration
public override void Write(PdfWriter writer)
Parameters
Type | Name | Description |
---|---|---|
PdfWriter | writer |