Class SvgAspectRatio
- Namespace
- Svg
- Assembly
- Svg.dll
Description of SvgAspectRatio.
[TypeConverter(typeof(SvgPreserveAspectRatioConverter))]
public class SvgAspectRatio : ICloneable
- Inheritance
-
SvgAspectRatio
- Implements
- Inherited Members
Constructors
SvgAspectRatio()
public SvgAspectRatio()
SvgAspectRatio(SvgPreserveAspectRatio)
public SvgAspectRatio(SvgPreserveAspectRatio align)
Parameters
align
SvgPreserveAspectRatio
SvgAspectRatio(SvgPreserveAspectRatio, bool)
public SvgAspectRatio(SvgPreserveAspectRatio align, bool slice)
Parameters
align
SvgPreserveAspectRatioslice
bool
SvgAspectRatio(SvgPreserveAspectRatio, bool, bool)
public SvgAspectRatio(SvgPreserveAspectRatio align, bool slice, bool defer)
Parameters
align
SvgPreserveAspectRatioslice
booldefer
bool
Properties
Align
public SvgPreserveAspectRatio Align { get; set; }
Property Value
Defer
public bool Defer { get; set; }
Property Value
Slice
public bool Slice { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public object Clone()
Returns
- object
A new object that is a copy of this instance.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.