Class BezierPrimitive
PDF Bezier curve primitive as a part of path
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.Elements
Assembly: Azos.Media.dll
Syntax
public class BezierPrimitive : PathPrimitive, IPdfWritable
Constructors
BezierPrimitive()
Declaration
public BezierPrimitive()
BezierPrimitive(Single, Single, Single, Single, Single, Single)
Declaration
public BezierPrimitive(float firstControlX, float firstControlY, float secondControlX, float secondControlY, float endX, float endY)
Parameters
Type | Name | Description |
---|---|---|
System.Single | firstControlX | |
System.Single | firstControlY | |
System.Single | secondControlX | |
System.Single | secondControlY | |
System.Single | endX | |
System.Single | endY |
Properties
EndX
X coordinate of Bezier's curve last point
Declaration
public float EndX { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
EndY
Y coordinate of Bezier's curve last point
Declaration
public float EndY { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
FirstControlX
X coordinate of Bezier's curve first control point
Declaration
public float FirstControlX { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
FirstControlY
Y coordinate of Bezier's curve first control point
Declaration
public float FirstControlY { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
SecondControlX
X coordinate of Bezier's curve second control point
Declaration
public float SecondControlX { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
SecondControlY
Y coordinate of Bezier's curve second control point
Declaration
public float SecondControlY { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
ToPdfString()
Returns PDF string representation on the line primitive
Declaration
public override string ToPdfString()
Returns
Type | Description |
---|---|
System.String |