Skip to main content
Namespace: VM.Managed.CAD
Assembly: VMAppCore.dll
This class is to represent the color information of topology.

Inheritance

object ← TopologyColorInfo

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

TopologyColorInfo()

Initializes a new instance of the TopologyColorInfo class

Properties

ColorInfo

Gets the color information.

Property Value

Dictionary<int, 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.

Returns

XmlSchema An XmlSchema that describes the XML representation of the object that is produced by the WriteXml() method and consumed by the ReadXml() method.

ReadXml(XmlReader)

Generates an object from its XML representation.

Parameters

reader XmlReader The XmlReader stream from which the object is deserialized.

SetColor(Builder, int[], Color)

Sets the color information.

Parameters

builder Builder The owner builder. arrIndexes int[] The topology indexes. color Color The color.

UnsetColor(Builder, int[])

Unsets the color information.

Parameters

builder Builder The owner builder. arrIndexes int[] The topology indexes.

WriteXml(XmlWriter)

Converts an object into its XML representation.

Parameters

writer XmlWriter The XmlWriter stream to which the object is serialized.