Class SvgElement
[Guid("ac7b67a6-183e-49c1-a823-0ebe40b0db29")]
public class SvgElement : Resource
- Inheritance
-
SvgElement
- Inherited Members
Constructors
SvgElement(nint)
public SvgElement(nint nativePtr)
Parameters
nativePtr
nint
Properties
Children
Gets all children of this element.
public SvgElement[] Children { get; }
Property Value
Document
No documentation.
public SvgDocument Document { get; }
Property Value
FirstChild
No documentation.
public SvgElement FirstChild { get; }
Property Value
IsTextContent
No documentation.
public RawBool IsTextContent { get; }
Property Value
- RawBool
LastChild
No documentation.
public SvgElement LastChild { get; }
Property Value
Parent
No documentation.
public SvgElement Parent { get; }
Property Value
SpecifiedAttributeCount
No documentation.
public int SpecifiedAttributeCount { get; }
Property Value
TagName
Gets tag name for this element
public string TagName { get; }
Property Value
TagNameLength
No documentation.
public int TagNameLength { get; }
Property Value
TextValueLength
No documentation.
public int TextValueLength { get; }
Property Value
Methods
AppendChild(SvgElement)
No documentation.
public void AppendChild(SvgElement newChild)
Parameters
newChild
SvgElementNo documentation.
CreateChild(string, out SvgElement)
No documentation.
public void CreateChild(string tagName, out SvgElement newChild)
Parameters
tagName
stringNo documentation.
newChild
SvgElementNo documentation.
GetAttributeValue(string, out ExtendMode)
Gets an extend mode attribute
public void GetAttributeValue(string name, out ExtendMode extendMode)
Parameters
name
stringAttribute name
extendMode
ExtendModeWhen this returns , contains the attribute value
GetAttributeValue(string, out FillMode)
Gets a fill mode attribute
public void GetAttributeValue(string name, out FillMode fillMode)
Parameters
GetAttributeValue(string, SvgAttributePodType, nint, int)
No documentation.
public void GetAttributeValue(string name, SvgAttributePodType type, nint value, int valueSizeInBytes)
Parameters
name
stringNo documentation.
type
SvgAttributePodTypeNo documentation.
value
nintNo documentation.
valueSizeInBytes
intNo documentation.
GetAttributeValue(string, SvgAttributeStringType, nint, int)
No documentation.
public void GetAttributeValue(string name, SvgAttributeStringType type, nint value, int valueCount)
Parameters
name
stringNo documentation.
type
SvgAttributeStringTypeNo documentation.
value
nintNo documentation.
valueCount
intNo documentation.
GetAttributeValue(string, out SvgDisplay)
Gets a display attribute
public void GetAttributeValue(string name, out SvgDisplay display)
Parameters
name
stringAttribute name
display
SvgDisplayWhen this returns , contains the attribute value
GetAttributeValue(string, out SvgLength)
Gets an svg length attribute
public void GetAttributeValue(string name, out SvgLength length)
Parameters
GetAttributeValue(string, out SvgLineCap)
Gets a line cap attribute
public void GetAttributeValue(string name, out SvgLineCap lineCap)
Parameters
name
stringAttribute name
lineCap
SvgLineCapWhen this returns , contains the attribute value
GetAttributeValue(string, out SvgLineJoin)
Gets a line join attribute
public void GetAttributeValue(string name, out SvgLineJoin lineJoin)
Parameters
name
stringAttribute name
lineJoin
SvgLineJoinWhen this returns , contains the attribute value
GetAttributeValue(string, out SvgOverflow)
Gets an overflow attribute
public void GetAttributeValue(string name, out SvgOverflow overflow)
Parameters
name
stringAttribute name
overflow
SvgOverflowWhen this returns , contains the attribute value
GetAttributeValue(string, out SvgPreserveAspectRatio)
Gets a preserve aspect ratio attribute
public void GetAttributeValue(string name, out SvgPreserveAspectRatio preserveAspectRatio)
Parameters
name
stringAttribute name
preserveAspectRatio
SvgPreserveAspectRatioWhen this returns , contains the attribute value
GetAttributeValue(string, out SvgUnitType)
Gets a unit type attribute
public void GetAttributeValue(string name, out SvgUnitType unitType)
Parameters
name
stringAttribute name
unitType
SvgUnitTypeWhen this returns , contains the attribute value
GetAttributeValue(string, out SvgVisibility)
Gets a visibility attribute
public void GetAttributeValue(string name, out SvgVisibility visibility)
Parameters
name
stringAttribute name
visibility
SvgVisibilityWhen this returns , contains the attribute value
GetAttributeValue(string, out RawColor4)
Gets a color attribute
public void GetAttributeValue(string name, out RawColor4 color)
Parameters
name
stringAttribute name
color
RawColor4When this returns , contains the attribute value
GetAttributeValue(string, out RawMatrix3x2)
Gets a transform attribute
public void GetAttributeValue(string name, out RawMatrix3x2 matrix)
Parameters
name
stringAttribute name
matrix
RawMatrix3x2When this returns , contains the attribute value
GetAttributeValue(string, Guid, out nint)
No documentation.
public void GetAttributeValue(string name, Guid riid, out nint value)
Parameters
GetAttributeValue(string, out float)
Gets a float attribute
public void GetAttributeValue(string name, out float value)
Parameters
GetAttributeValueLength(string, SvgAttributeStringType, out int)
No documentation.
public void GetAttributeValueLength(string name, SvgAttributeStringType type, out int valueLength)
Parameters
name
stringNo documentation.
type
SvgAttributeStringTypeNo documentation.
valueLength
intNo documentation.
GetAttributeValue<T>(string)
Gets an attribute from a type id
public T GetAttributeValue<T>(string name) where T : SvgAttribute
Parameters
name
stringAttribute name
Returns
- T
Attribute instance
Type Parameters
T
Attribute type, must inherit from SvgAttribute
GetNextChild(SvgElement, out SvgElement)
No documentation.
public void GetNextChild(SvgElement referenceChild, out SvgElement nextChild)
Parameters
referenceChild
SvgElementNo documentation.
nextChild
SvgElementNo documentation.
GetPreviousChild(SvgElement, out SvgElement)
No documentation.
public void GetPreviousChild(SvgElement referenceChild, out SvgElement reviousChildRef)
Parameters
referenceChild
SvgElementNo documentation.
reviousChildRef
SvgElementNo documentation.
GetSpecifiedAttributeName(int, nint, int, out RawBool)
No documentation.
public void GetSpecifiedAttributeName(int index, nint name, int nameCount, out RawBool inherited)
Parameters
index
intNo documentation.
name
nintNo documentation.
nameCount
intNo documentation.
inherited
RawBoolNo documentation.
GetSpecifiedAttributeNameLength(int, out int, out RawBool)
No documentation.
public void GetSpecifiedAttributeNameLength(int index, out int nameLength, out RawBool inherited)
Parameters
GetTagName(nint, int)
No documentation.
public void GetTagName(nint name, int nameCount)
Parameters
GetTextValue(nint, int)
No documentation.
public void GetTextValue(nint name, int nameCount)
Parameters
HasChildren()
No documentation.
public RawBool HasChildren()
Returns
- RawBool
No documentation.
InsertChildBefore(SvgElement, SvgElement)
No documentation.
public void InsertChildBefore(SvgElement newChild, SvgElement referenceChild)
Parameters
newChild
SvgElementNo documentation.
referenceChild
SvgElementNo documentation.
IsAttributeSpecified(string, out RawBool)
No documentation.
public RawBool IsAttributeSpecified(string name, out RawBool inherited)
Parameters
name
stringNo documentation.
inherited
RawBoolNo documentation.
Returns
- RawBool
No documentation.
RemoveAttribute(string)
No documentation.
public void RemoveAttribute(string name)
Parameters
name
stringNo documentation.
RemoveChild(SvgElement)
No documentation.
public void RemoveChild(SvgElement oldChild)
Parameters
oldChild
SvgElementNo documentation.
ReplaceChild(SvgElement, SvgElement)
No documentation.
public void ReplaceChild(SvgElement newChild, SvgElement oldChild)
Parameters
newChild
SvgElementNo documentation.
oldChild
SvgElementNo documentation.
SetAttributeValue(string, ExtendMode)
Sets extend mode attribute
public void SetAttributeValue(string name, ExtendMode extendMode)
Parameters
name
stringAttribute name
extendMode
ExtendModeNew extend mode
SetAttributeValue(string, FillMode)
Sets fill mode attribute
public void SetAttributeValue(string name, FillMode fillMode)
Parameters
SetAttributeValue(string, SvgAttribute)
No documentation.
public void SetAttributeValue(string name, SvgAttribute value)
Parameters
name
stringNo documentation.
value
SvgAttributeNo documentation.
SetAttributeValue(string, SvgAttributePodType, nint, int)
No documentation.
public void SetAttributeValue(string name, SvgAttributePodType type, nint value, int valueSizeInBytes)
Parameters
name
stringNo documentation.
type
SvgAttributePodTypeNo documentation.
value
nintNo documentation.
valueSizeInBytes
intNo documentation.
SetAttributeValue(string, SvgAttributeStringType, string)
No documentation.
public void SetAttributeValue(string name, SvgAttributeStringType type, string value)
Parameters
name
stringNo documentation.
type
SvgAttributeStringTypeNo documentation.
value
stringNo documentation.
SetAttributeValue(string, SvgDisplay)
Sets display mode attribute
public void SetAttributeValue(string name, SvgDisplay display)
Parameters
name
stringAttribute name
display
SvgDisplayNew svg display
SetAttributeValue(string, SvgLength)
Sets length attribute
public void SetAttributeValue(string name, SvgLength length)
Parameters
SetAttributeValue(string, SvgLineCap)
Sets line cap attribute
public void SetAttributeValue(string name, SvgLineCap lineCap)
Parameters
name
stringAttribute name
lineCap
SvgLineCapNew svg line cap
SetAttributeValue(string, SvgLineJoin)
Sets line join attribute
public void SetAttributeValue(string name, SvgLineJoin lineJoin)
Parameters
name
stringAttribute name
lineJoin
SvgLineJoinNew svg line join
SetAttributeValue(string, SvgOverflow)
public void SetAttributeValue(string name, SvgOverflow overflow)
Parameters
name
stringoverflow
SvgOverflow
SetAttributeValue(string, SvgPreserveAspectRatio)
public void SetAttributeValue(string name, SvgPreserveAspectRatio preserveAspectRatio)
Parameters
name
stringpreserveAspectRatio
SvgPreserveAspectRatio
SetAttributeValue(string, SvgUnitType)
Sets unit type attribute
public void SetAttributeValue(string name, SvgUnitType unitType)
Parameters
name
stringAttribute name
unitType
SvgUnitTypeNew unit type
SetAttributeValue(string, SvgVisibility)
Sets visibility attribute
public void SetAttributeValue(string name, SvgVisibility visibility)
Parameters
name
stringAttribute name
visibility
SvgVisibilityNew svg visibility
SetAttributeValue(string, RawColor4)
Sets color attribute
public void SetAttributeValue(string name, RawColor4 color)
Parameters
name
stringAttribute name
color
RawColor4New color
SetAttributeValue(string, RawMatrix3x2)
Sets transform attribute
public void SetAttributeValue(string name, RawMatrix3x2 matrix)
Parameters
name
stringAttribute name
matrix
RawMatrix3x2New transform
SetAttributeValue(string, float)
Sets float attribute
public void SetAttributeValue(string name, float value)
Parameters
SetTextValue(string, int)
No documentation.
public void SetTextValue(string name, int nameCount)
Parameters
Operators
explicit operator SvgElement(nint)
public static explicit operator SvgElement(nint nativePtr)
Parameters
nativePtr
nint