PointU
Represents an ordered pair of unit-based point x- and y-coordinates that defines a point in a two-dimensional plane.
Definition
Namespace:Telerik.Reporting.Drawing
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(PointUConverter))]
public struct PointU
Constructors
Initializes a new instance of the
public PointU(Point pointDips)
A Point whose coordinates to use.
Initializes a new instance of the
public PointU(PointF pointDips)
A PointF whose coordinates to use.
Fields
Properties
IsEmpty
bool
Gets or sets the x-coordinate of this PointU
public Unit X { get; set; }
The x-coordinate of this PointU.
Methods
Returns a hash code for this PointU structure.
public override int GetHashCode()
int
An integer value that specifies a hash value for this PointU structure.
Overrides:
Converts this PointU to a human readable string.
public override string ToString()
string
A string that represents this PointU.
Overrides:
Converts this PointU to a human readable string according to the CultureInfo specified.
public string ToString(CultureInfo culture)
A CultureInfo that is used to format the string.
Returns:string
A string that represents this PointU.
Operators
Translates the PointU by the negative of a specified SizeU.
public static PointU operator -(PointU pt, SizeU size)
The PointU to translate.
sizeSizeUThe SizeU that specifies the numbers to subtract from the x- and y-coordinates of the PointU.
Returns:The translated PointU.
The op_Subtraction operator subtracts the Width of the specified size from the x-coordinate of the PointU and the Height from the y-coordinate of the PointU.
Translates the PointU by the specified SizeU.
public static PointU operator +(PointU pt, SizeU size)
The PointU to translate.
sizeSizeUThe SizeU that specifies the numbers to add to the x- and y-coordinates of the PointU.
Returns:The translated PointU.
The op_Addition operator adds the Width of the specified size to the x-coordinate of the PointU and the Height to the y-coordinate of the PointU.