[]
Indicates whether or not to force uniform scaling
public struct SvgPreserveAspectRatio : IEquatable<SvgPreserveAspectRatio>
Initializes a new instance of the SvgPreserveAspectRatio struct.
public SvgPreserveAspectRatio(SvgAspectRatioAlign align, SvgMeetOrSlice meetOrSlice)
align
SvgAspectRatioAlignmeetOrSlice
SvgMeetOrSliceRepresents a default value of SvgPreserveAspectRatio.
public static readonly SvgPreserveAspectRatio Default
Represents a SvgPreserveAspectRatio that does not force uniform scaling.
public static readonly SvgPreserveAspectRatio None
Gets or sets a value indicating whether to force uniform scaling and, if so, the alignment method to use.
public SvgAspectRatioAlign Align { get; set; }
Gets or sets a value specifying the method of scaling the element's 'viewBox' within the SVG viewport.
public SvgMeetOrSlice MeetOrSlice { get; set; }
Determines whether the specified SvgPreserveAspectRatio is equal to this instance.
public bool Equals(SvgPreserveAspectRatio other)
other
SvgPreserveAspectRatioDetermines whether the specified object is equal to this instance.
public override bool Equals(object obj)
obj
objectReturns a hash code for this struct.
public override int GetHashCode()
Returns a string that represents the current struct.
public override string ToString()