Opait PDF Library
Public Member Functions | Static Public Member Functions | Properties | List of all members
Opait.Pdf.Api.PdfBezier Class Reference

Represents a double precision cubic PdfBezier spline curve. More...

Public Member Functions

 PdfBezier (PdfPoint p1, PdfPoint p2, PdfPoint p3, PdfPoint p4)
 Initializes an instance of the PdfBezier class using 4 control points. More...
 

Static Public Member Functions

static PdfBezier CircleFirstQuarter (double x, double y, double radius)
 Creates a Bezier curve representing a quarter circle in the first quadrant. More...
 
static PdfBezier CircleSecondQuarter (double x, double y, double radius)
 Creates a Bezier curve representing a quarter circle in the second quadrant. More...
 
static PdfBezier CircleThirdQuarter (double x, double y, double radius)
 Creates a Bezier curve representing a quarter circle in the third quadrant. More...
 
static PdfBezier CircleFourthQuarter (double x, double y, double radius)
 Creates a Bezier curve representing a quarter circle in the fourth quadrant. More...
 
static PdfBezier OvalFirstQuarter (double x, double y, double width, double height)
 Creates a Bezier curve representing a quarter oval in the first quadrant. More...
 
static PdfBezier OvalSecondQuarter (double x, double y, double width, double height)
 Creates a Bezier curve representing a quarter oval in the second quadrant. More...
 
static PdfBezier OvalThirdQuarter (double x, double y, double width, double height)
 Creates a Bezier curve representing a quarter oval in the third quadrant. More...
 
static PdfBezier OvalFourthQuarter (double x, double y, double width, double height)
 Creates a Bezier curve representing a quarter oval in the fourth quadrant. More...
 

Properties

PdfPoint P1 [get, set]
 Gets or sets the first control point that starts the Bezier curve.
 
PdfPoint P2 [get, set]
 Gets or sets the second control point.
 
PdfPoint P3 [get, set]
 Gets or sets the third control point.
 
PdfPoint P4 [get, set]
 Gets or sets the fourth control point that ends the Bezier curve.
 

Detailed Description

Represents a double precision cubic PdfBezier spline curve.

Constructor & Destructor Documentation

◆ PdfBezier()

Opait.Pdf.Api.PdfBezier.PdfBezier ( PdfPoint  p1,
PdfPoint  p2,
PdfPoint  p3,
PdfPoint  p4 
)

Initializes an instance of the PdfBezier class using 4 control points.

Parameters
p1The first control point.
p2The second control point.
p3The third control point.
p4The third control point.

Member Function Documentation

◆ CircleFirstQuarter()

static PdfBezier Opait.Pdf.Api.PdfBezier.CircleFirstQuarter ( double  x,
double  y,
double  radius 
)
static

Creates a Bezier curve representing a quarter circle in the first quadrant.

Parameters
xThe x-coordinate of the center.
yThe y-coordinate of the center.
radiusThe radius of the circle.
Returns
A Bezier curve representing a quarter circle in the first quadrant.

◆ CircleFourthQuarter()

static PdfBezier Opait.Pdf.Api.PdfBezier.CircleFourthQuarter ( double  x,
double  y,
double  radius 
)
static

Creates a Bezier curve representing a quarter circle in the fourth quadrant.

Parameters
xThe x-coordinate of the center.
yThe y-coordinate of the center.
radiusThe radius of the circle.
Returns
A Bezier curve representing a quarter circle in the fourth quadrant.

◆ CircleSecondQuarter()

static PdfBezier Opait.Pdf.Api.PdfBezier.CircleSecondQuarter ( double  x,
double  y,
double  radius 
)
static

Creates a Bezier curve representing a quarter circle in the second quadrant.

Parameters
xThe x-coordinate of the center.
yThe y-coordinate of the center.
radiusThe radius of the circle.
Returns
A Bezier curve representing a quarter circle in the second quadrant.

◆ CircleThirdQuarter()

static PdfBezier Opait.Pdf.Api.PdfBezier.CircleThirdQuarter ( double  x,
double  y,
double  radius 
)
static

Creates a Bezier curve representing a quarter circle in the third quadrant.

Parameters
xThe x-coordinate of the center.
yThe y-coordinate of the center.
radiusThe radius of the circle.
Returns
A Bezier curve representing a quarter circle in the third quadrant.

◆ OvalFirstQuarter()

static PdfBezier Opait.Pdf.Api.PdfBezier.OvalFirstQuarter ( double  x,
double  y,
double  width,
double  height 
)
static

Creates a Bezier curve representing a quarter oval in the first quadrant.

Parameters
xThe x-coordinate of the bounding rectangle.
yThe y-coordinate of the bounding rectangle.
widthThe width of the bounding rectangle.
heightThe height of the bounding rectangle.
Returns
A Bezier curve representing a quarter oval in the first quadrant.

◆ OvalFourthQuarter()

static PdfBezier Opait.Pdf.Api.PdfBezier.OvalFourthQuarter ( double  x,
double  y,
double  width,
double  height 
)
static

Creates a Bezier curve representing a quarter oval in the fourth quadrant.

Parameters
xThe x-coordinate of the bounding rectangle.
yThe y-coordinate of the bounding rectangle.
widthThe width of the bounding rectangle.
heightThe height of the bounding rectangle.
Returns
A Bezier curve representing a quarter oval in the fourth quadrant.

◆ OvalSecondQuarter()

static PdfBezier Opait.Pdf.Api.PdfBezier.OvalSecondQuarter ( double  x,
double  y,
double  width,
double  height 
)
static

Creates a Bezier curve representing a quarter oval in the second quadrant.

Parameters
xThe x-coordinate of the bounding rectangle.
yThe y-coordinate of the bounding rectangle.
widthThe width of the bounding rectangle.
heightThe height of the bounding rectangle.
Returns
A Bezier curve representing a quarter oval in the second quadrant.

◆ OvalThirdQuarter()

static PdfBezier Opait.Pdf.Api.PdfBezier.OvalThirdQuarter ( double  x,
double  y,
double  width,
double  height 
)
static

Creates a Bezier curve representing a quarter oval in the third quadrant.

Parameters
xThe x-coordinate of the bounding rectangle.
yThe y-coordinate of the bounding rectangle.
widthThe width of the bounding rectangle.
heightThe height of the bounding rectangle.
Returns
A Bezier curve representing a quarter oval in the third quadrant.