Class TopologyColorInfo
Last update: 16.07.2025Namespace: VM.Managed.CAD
Assembly: VMAppCore.dll
This class is to represent the color information of topology.
public class TopologyColorInfo
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
TopologyColorInfo()
Initializes a new instance of the
public TopologyColorInfo()
Properties
ColorInfo
Gets the color information.
public Dictionary<int color> ColorInfo { get; }
Property Value
Dictionaryint, Color>
Methods
GetSchema()
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return nullNothingnullptra null reference (Nothing in Visual Basic) (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.
public virtual XmlSchema GetSchema()
Returns
An
ReadXml(XmlReader)
Generates an object from its XML representation.
public virtual void ReadXml(XmlReader reader)
Parameters
reader XmlReader
The XmlReader stream from which the object is deserialized.
SetColor(Builder, int[], Color)
Sets the color information.
public void SetColor(Builder builder, int[] arrIndexes, Color color)
Parameters
builder Builder
The owner builder.
arrIndexes int[]
The topology indexes.
color Color
The color.
UnsetColor(Builder, int[])
Unsets the color information.
public void UnsetColor(Builder builder, int[] arrIndexes)
Parameters
builder Builder
The owner builder.
arrIndexes int[]
The topology indexes.
WriteXml(XmlWriter)
Converts an object into its XML representation.
public virtual void WriteXml(XmlWriter writer)
Parameters
writer XmlWriter
The XmlWriter stream to which the object is serialized.