Method TryGetAttributeValue
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
TryGetAttributeValue<T>(ISvgElement, string, SvgAttributePodType, out T)
public static bool TryGetAttributeValue<T>(this ISvgElement svgElement, string name, SvgAttributePodType type, out T value) where T : unmanaged
Parameters
svgElement
ISvgElement
name
string
type
SvgAttributePodType
value
T
Returns
- bool
Type Parameters
T
TryGetAttributeValue(ISvgElement, string, out float)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out float value)
Parameters
svgElement
ISvgElement
name
string
value
float
Returns
- bool
TryGetAttributeValue(ISvgElement, string, out ColorRgba128Float)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out ColorRgba128Float value)
Parameters
svgElement
ISvgElement
name
string
value
ColorRgba128Float
Returns
- bool
TryGetAttributeValue(ISvgElement, string, out FillMode)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out FillMode value)
Parameters
svgElement
ISvgElement
name
string
value
FillMode
Returns
- bool
TryGetAttributeValue(ISvgElement, string, out SvgDisplay)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out SvgDisplay value)
Parameters
svgElement
ISvgElement
name
string
value
SvgDisplay
Returns
- bool
TryGetAttributeValue(ISvgElement, string, out SvgOverflow)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out SvgOverflow value)
Parameters
svgElement
ISvgElement
name
string
value
SvgOverflow
Returns
- bool
TryGetAttributeValue(ISvgElement, string, out SvgLineJoin)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out SvgLineJoin value)
Parameters
svgElement
ISvgElement
name
string
value
SvgLineJoin
Returns
- bool
TryGetAttributeValue(ISvgElement, string, out SvgLineCap)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out SvgLineCap value)
Parameters
svgElement
ISvgElement
name
string
value
SvgLineCap
Returns
- bool
TryGetAttributeValue(ISvgElement, string, out SvgVisibility)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out SvgVisibility value)
Parameters
svgElement
ISvgElement
name
string
value
SvgVisibility
Returns
- bool
TryGetAttributeValue(ISvgElement, string, out Matrix3x2Float)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out Matrix3x2Float value)
Parameters
svgElement
ISvgElement
name
string
value
Matrix3x2Float
Returns
- bool
TryGetAttributeValue(ISvgElement, string, out SvgUnitType)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out SvgUnitType value)
Parameters
svgElement
ISvgElement
name
string
value
SvgUnitType
Returns
- bool
TryGetAttributeValue(ISvgElement, string, out ExtendMode)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out ExtendMode value)
Parameters
svgElement
ISvgElement
name
string
value
ExtendMode
Returns
- bool
TryGetAttributeValue(ISvgElement, string, out SvgPreserveAspectRatio)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out SvgPreserveAspectRatio value)
Parameters
svgElement
ISvgElement
name
string
value
SvgPreserveAspectRatio
Returns
- bool
TryGetAttributeValue(ISvgElement, string, out SvgLength)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out SvgLength value)
Parameters
svgElement
ISvgElement
name
string
value
SvgLength
Returns
- bool
TryGetAttributeValue(ISvgElement, string, out SvgViewBox)
public static bool TryGetAttributeValue(this ISvgElement svgElement, string name, out SvgViewBox value)
Parameters
svgElement
ISvgElement
name
string
value
SvgViewBox
Returns
- bool