Struct SvgUnit
Inherited Members
Namespace: Telerik.WinControls.Svg
Assembly: TelerikCommon.dll
Syntax
public struct SvgUnit
Constructors
SvgUnit(Single)
Declaration
public SvgUnit(float value)
Parameters
System.Single
value
|
SvgUnit(SvgUnitType, Single)
Declaration
public SvgUnit(SvgUnitType type, float value)
Parameters
SvgUnitType
type
|
System.Single
value
|
Fields
Empty
None
Properties
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
System.Boolean
|
IsNone
Declaration
public bool IsNone { get; }
Property Value
System.Boolean
|
Type
Value
Declaration
public float Value { get; }
Property Value
System.Single
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
Equals(SvgUnit)
GetDevicePoint(SvgUnit, SvgUnit, ISvgRenderer, SvgElement)
Declaration
public static PointF GetDevicePoint(SvgUnit x, SvgUnit y, ISvgRenderer renderer, SvgElement owner)
Parameters
SvgUnit
x
|
SvgUnit
y
|
ISvgRenderer
renderer
|
SvgElement
owner
|
Returns
System.Drawing.PointF
|
GetDevicePointOffset(SvgUnit, SvgUnit, ISvgRenderer, SvgElement)
Declaration
public static PointF GetDevicePointOffset(SvgUnit x, SvgUnit y, ISvgRenderer renderer, SvgElement owner)
Parameters
SvgUnit
x
|
SvgUnit
y
|
ISvgRenderer
renderer
|
SvgElement
owner
|
Returns
System.Drawing.PointF
|
GetDeviceSize(SvgUnit, SvgUnit, ISvgRenderer, SvgElement)
Declaration
public static SizeF GetDeviceSize(SvgUnit width, SvgUnit height, ISvgRenderer renderer, SvgElement owner)
Parameters
SvgUnit
width
|
SvgUnit
height
|
ISvgRenderer
renderer
|
SvgElement
owner
|
Returns
System.Drawing.SizeF
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
ToDeviceValue(ISvgRenderer, UnitRenderingType, SvgElement)
Declaration
public float ToDeviceValue(ISvgRenderer renderer, UnitRenderingType renderType, SvgElement owner)
Parameters
ISvgRenderer
renderer
|
UnitRenderingType
renderType
|
SvgElement
owner
|
Returns
System.Single
|
ToPercentage()
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Overrides
Operators
Equality(SvgUnit, SvgUnit)
Declaration
public static bool operator ==(SvgUnit lhs, SvgUnit rhs)
Parameters
SvgUnit
lhs
|
SvgUnit
rhs
|
Returns
System.Boolean
|
Implicit(Single to SvgUnit)
Declaration
public static implicit operator SvgUnit(float value)
Parameters
System.Single
value
|
Returns
SvgUnit
|
Implicit(SvgUnit to Single)
Declaration
public static implicit operator float (SvgUnit value)
Parameters
SvgUnit
value
|
Returns
System.Single
|
Inequality(SvgUnit, SvgUnit)
Declaration
public static bool operator !=(SvgUnit lhs, SvgUnit rhs)
Parameters
SvgUnit
lhs
|
SvgUnit
rhs
|
Returns
System.Boolean
|