C# Class SVGLength, UnitySVG

Afficher le fichier Open project: MrJoy/UnitySVG Class Usage Examples

Méthodes publiques

Méthode Description
GetPXLength ( string valueText ) : float
NewValueSpecifiedUnits ( float valueInSpecifiedUnits ) : void
SVGLength ( SVGLengthType unitType, float valueInSpecifiedUnits )
SVGLength ( float valueInSpecifiedUnits )
SVGLength ( string valueText )

Private Methods

Méthode Description
ConvertToPX ( float value, SVGLengthType lengthType ) : float
ExtractType ( string text, float &value, SVGLengthType &lengthType ) : void

Method Details

GetPXLength() public static méthode

public static GetPXLength ( string valueText ) : float
valueText string
Résultat float

NewValueSpecifiedUnits() public méthode

public NewValueSpecifiedUnits ( float valueInSpecifiedUnits ) : void
valueInSpecifiedUnits float
Résultat void

SVGLength() public méthode

public SVGLength ( SVGLengthType unitType, float valueInSpecifiedUnits )
unitType SVGLengthType
valueInSpecifiedUnits float

SVGLength() public méthode

public SVGLength ( float valueInSpecifiedUnits )
valueInSpecifiedUnits float

SVGLength() public méthode

public SVGLength ( string valueText )
valueText string