Struct SvgPointF
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Core.dll
This represents an ordered pair of float precision x- and y-coordinates that defines a point in a two-dimensional plane.
[Serializable]
public struct SvgPointF : IEquatable<SvgPointF>
- Implements
- Inherited Members
Constructors
- SvgPointF(double, double)
Initializes a new instance of the SvgPointF structure with the specified coordinates.
- SvgPointF(float, float)
Initializes a new instance of the SvgPointF structure with the specified coordinates.
Fields
Properties
Methods
- Distance(SvgPointF)
This computes the distance between this SvgPointF and the specified SvgPointF.
- Equals(SvgPointF)
This determines whether this SvgPointF contains the same coordinates as the specified SvgPointF.
- Equals(object)
This determines whether this SvgPointF contains the same coordinates as the specified object.
- GetHashCode()
This returns a hash code for this SvgPointF structure.
- Subtract(SvgPointF, SvgSizeF)
This translates a SvgPointF by the negative of a specified size.
- ToString()
This converts this SvgPointF to a human readable string.
Operators
- operator ==(SvgPointF, SvgPointF)
This compares two SvgPointF structures. The result specifies whether the values of the X and Y properties of the two SvgPointF structures are equal.
- operator !=(SvgPointF, SvgPointF)
This determines whether the coordinates of the specified points are not equal.
- operator -(SvgPointF, SvgSizeF)
This translates a SvgPointF by the negative of a specified SvgSizeF.