Struct SvgSizeF
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Core.dll
Stores an ordered pair of floating-point numbers, typically the width and height of a rectangle.
[Serializable]
public struct SvgSizeF : IEquatable<SvgSizeF>
- Implements
- Inherited Members
Constructors
- SvgSizeF(SvgPointF)
Initializes a new instance of the SvgSizeF class from the specified SvgPointF.
- SvgSizeF(SvgSizeF)
Initializes a new instance of the SvgSizeF class from the specified existing SvgSizeF.
- SvgSizeF(float, float)
Initializes a new instance of the SvgSizeF class from the specified dimensions.
Fields
Properties
Methods
- Add(SvgSizeF, SvgSizeF)
Adds the width and height of one SvgSizeF structure to the width and height of another SvgSizeF structure.
- Equals(SvgSizeF)
This to see whether the specified SvgSizeF is with the same dimensions as this SvgSizeF.
- Equals(object)
This tests whether the specified object is a SvgSizeF with the same dimensions as this SvgSizeF.
- GetHashCode()
This returns a hash code for this SvgSizeF structure.
- Subtract(SvgSizeF, SvgSizeF)
Subtracts the width and height of one SvgSizeF structure from the width and height of another SvgSizeF structure.
- ToString()
This creates a human-readable string that represents this SvgSizeF.
Operators
- operator +(SvgSizeF, SvgSizeF)
Adds the width and height of one SvgSizeF structure to the width and height of another SvgSizeF structure.
- operator ==(SvgSizeF, SvgSizeF)
Tests whether two SvgSizeF structures are equal.
- operator !=(SvgSizeF, SvgSizeF)
Tests whether two SvgSizeF structures are different.
- operator -(SvgSizeF, SvgSizeF)
Subtracts the width and height of one SvgSizeF structure from the width and height of another SvgSizeF structure.