Table of Contents

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

Empty

Represents a new instance of the SvgPointF structure with member data left uninitialized.

Properties

IsEmpty

Gets a value indicating whether this SvgPointF is empty.

ValueX

Gets or sets the x-coordinate of this SvgPointF.

ValueY

Gets or sets the y-coordinate of this SvgPointF.

X

Gets the x-coordinate of this SvgPointF.

Y

Gets the y-coordinate of this SvgPointF.

Methods

Add(SvgPointF, SvgSizeF)

This translates a given SvgPointF by a specified SvgSizeF.

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, SvgSizeF)

This translates the SvgPointF by the specified SvgSizeF.

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.