|
Opait PDF Library
|
Represents an ordered pair of x and y coordinates that defines a point in a PDF two-dimensional plane. More...
Public Member Functions | |
| PdfPoint () | |
| Default constructor. | |
| PdfPoint (double x, double y) | |
| Initializes a new instance of the PdfPoint class with the specified coordinates. More... | |
| PdfPoint (PdfPoint other) | |
| Initializes a new instance of the PdfPoint class using another point. More... | |
| PdfPoint (PdfPoint center, double radius, double alpha) | |
| Initializes a new instance of the PdfPoint class using a point on a circle. More... | |
| PdfPoint (double centerX, double centerY, double radius, double alpha) | |
| Initializes a new instance of the PdfPoint class using a point on a circle. More... | |
| PdfPoint | Add (double x1, double y1) |
| Adds the specified values to the point's coordinates. More... | |
| PdfPoint | Add (PdfPoint pt) |
| Adds the specified point to this point's coordinates. More... | |
| PdfPoint | Add (PdfSize pdfSize) |
| Adds the specified size to this point's coordinates. More... | |
| PdfPoint | Subtract (double x1, double y1) |
| Subtracts the specified values from the point's coordinates. More... | |
| PdfPoint | Subtract (PdfPoint pt) |
| Subtracts the specified point from this point's coordinates. More... | |
| PdfPoint | Subtract (PdfSize pdfSize) |
| Subtracts the specified size from this point's coordinates. More... | |
| override bool | Equals (object obj) |
| Equals - compares this Point with the passed in object. More... | |
| bool | Equals (PdfPoint value) |
| Equals - compares this PdfPoint with the passed in object. More... | |
| override int | GetHashCode () |
| Returns the hash code for this PdfPoint. More... | |
| override string | ToString () |
| Converts this PdfPoint to a human-readable string. More... | |
Static Public Member Functions | |
| static bool | operator== (PdfPoint point1, PdfPoint point2) |
| Checks two PdfPoint instances for equality. More... | |
| static bool | operator!= (PdfPoint point1, PdfPoint point2) |
| Checks two PdfPoint instances for inequality. More... | |
| static PdfPoint | operator- (PdfPoint pt) |
| Applies the unary negative sign to a PdfPoint. More... | |
| static PdfPoint | operator+ (PdfPoint pt1, PdfPoint pt2) |
| Adds two instances of the PdfPoint class. More... | |
| static PdfPoint | operator+ (PdfPoint pt, PdfSize size) |
| Moves a PdfPoint by PdfSize. More... | |
| static PdfPoint | operator- (PdfPoint pt1, PdfPoint pt2) |
| Subtracts two instances of the PdfPoint class. More... | |
| static PdfPoint | operator- (PdfPoint pt, PdfSize size) |
| Subtract PdfSize from PdfPoint. More... | |
Public Attributes | |
| double | X |
| Gets the x-coordinate of this Point. | |
| double | Y |
| Gets the y-coordinate of this Point. | |
Static Public Attributes | |
| static readonly PdfPoint | Empty = new PdfPoint() |
| Represents a PdfPoint that has X and Y values set to zero. | |
Properties | |
| bool | IsEmpty [get] |
| Gets a value indicating whether this PdfPoint is empty. | |
Represents an ordered pair of x and y coordinates that defines a point in a PDF two-dimensional plane.
| Opait.Pdf.Api.PdfPoint.PdfPoint | ( | double | x, |
| double | y | ||
| ) |
Initializes a new instance of the PdfPoint class with the specified coordinates.
| x | The horizontal coordinate of the point. |
| y | The vertical coordinate of the point. |
| Opait.Pdf.Api.PdfPoint.PdfPoint | ( | PdfPoint | other | ) |
Initializes a new instance of the PdfPoint class using another point.
| other | Clones this point. |
| Opait.Pdf.Api.PdfPoint.PdfPoint | ( | PdfPoint | center, |
| double | radius, | ||
| double | alpha | ||
| ) |
Initializes a new instance of the PdfPoint class using a point on a circle.
| center | The center of the circle. |
| radius | The radius of the circle. |
| alpha | The angle between the vertical axis and a line drawn from the origin to the point. |
| Opait.Pdf.Api.PdfPoint.PdfPoint | ( | double | centerX, |
| double | centerY, | ||
| double | radius, | ||
| double | alpha | ||
| ) |
Initializes a new instance of the PdfPoint class using a point on a circle.
| centerX | The x-coordinate of the center of the circle. |
| centerY | The y-coordinate of the center of the circle. |
| radius | The radius of the circle. |
| alpha | The angle between the vertical axis and a line drawn from the origin to the point. |
| PdfPoint Opait.Pdf.Api.PdfPoint.Add | ( | double | x1, |
| double | y1 | ||
| ) |
Adds the specified values to the point's coordinates.
| x1 | Displacement in the x-direction. |
| y1 | Displacement in the y-direction. |
Adds the specified point to this point's coordinates.
| pt | The point to add. |
Adds the specified size to this point's coordinates.
| pdfSize | The size to add. |
| override bool Opait.Pdf.Api.PdfPoint.Equals | ( | object | obj | ) |
Equals - compares this Point with the passed in object.
| obj | The object to compare to "this" |
| bool Opait.Pdf.Api.PdfPoint.Equals | ( | PdfPoint | value | ) |
| override int Opait.Pdf.Api.PdfPoint.GetHashCode | ( | ) |
Checks two PdfPoint instances for inequality.
| point1 | The first point. |
| point2 | The second point. |
Adds two instances of the PdfPoint class.
| pt1 | The first point. |
| pt2 | The second point. |
Applies the unary negative sign to a PdfPoint.
| pt | The point to negate. |
Subtracts two instances of the PdfPoint class.
| pt1 | The first point. |
| pt2 | The second point. |
Checks two PdfPoint instances for equality.
| point1 | The first point. |
| point2 | The second point. |
| PdfPoint Opait.Pdf.Api.PdfPoint.Subtract | ( | double | x1, |
| double | y1 | ||
| ) |
Subtracts the specified values from the point's coordinates.
| x1 | Displacement in the x-direction. |
| y1 | Displacement in the y-direction. |
Subtracts the specified point from this point's coordinates.
| pt | The point to subtract. |
Subtracts the specified size from this point's coordinates.
| pdfSize | The size to subtract. |
| override string Opait.Pdf.Api.PdfPoint.ToString | ( | ) |
Converts this PdfPoint to a human-readable string.