StructPointF
Represents a structure that is used to describe size of an object using float values.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public struct PointF
Constructors
PointF(float, float)
Initializes a new instance of the PointF struct.
Fields
Properties
IsEmpty
Gets a value indicating whether this instance is an empty point.
Declaration
[Browsable(false)]
public bool IsEmpty { get; }
Property Value
true if this instance is empty; otherwise, false.
X
Gets or sets the X coordinate.
Methods
Add(PointF, Size)
Adds size to a specified point.
Add(PointF, SizeF)
Adds size to a specified point.
Distance(PointF, PointF)
Computes distance between two points.
Equals(object)
Determines whether the specified object, is equal to this instance.
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides
Round()
Rounds each coordinate of the point.
Subtract(PointF, Size)
Subtracts size from a specified point.
Subtract(PointF, SizeF)
Subtracts size from a specified point.
ToString()
Returns a string that represents this instance.
Operators
operator !=(PointF, PointF)
Implements the operator !=.
operator +(PointF, Size)
Implements the operator +.
operator +(PointF, SizeF)
Implements the operator +.
operator -(PointF, Size)
Implements the operator -.
operator -(PointF, SizeF)
Implements the operator -.
operator ==(PointF, PointF)
Implements the operator ==.