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

Inheritance

object ← BuilderColor

Extension Methods

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

Constructors

BuilderColor(byte, byte, byte, byte)

Initializes a new instance of the BuilderColor class

Parameters

bA byte The alpha. bR byte The red. bG byte The green. bB byte The blue.

BuilderColor(Color)

Initializes a new instance of the BuilderColor class

Parameters

color Color The color

BuilderColor()

Initializes a new instance of the BuilderColor class

Properties

ColorA

Gets the alpha of color.

Property Value

int

ColorB

Gets the blue of color.

Property Value

int

ColorG

Gets the green of color.

Property Value

int

ColorR

Gets the red of color.

Property Value

int

EdgeColorInfo

Gets or sets the faces color information.

Property Value

TopologyColorInfo

FaceColorInfo

Gets or sets the faces color information.

Property Value

TopologyColorInfo

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.

OnDeserialization(object)

Called when [deserialization].

Parameters

sender object The sender.

ReadXml(XmlReader)

Generates an object from its XML representation.

Parameters

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

WriteXml(XmlWriter)

Converts an object into its XML representation.

Parameters

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