Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class BuilderColor

Last update: 16.07.2025

Namespace: VM.Managed.CAD
Assembly: VMAppCore.dll

This class is to represent the color of builder.

public class BuilderColor

Inheritance

objectBuilderColor

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

BuilderColor(byte, byte, byte, byte)

Initializes a new instance of the class

public BuilderColor(byte bA, byte bR, byte bG, byte bB)

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 class

public BuilderColor(Color color)

Parameters

color Color

The color

BuilderColor()

Initializes a new instance of the class

public BuilderColor()

Properties

ColorA

Gets the alpha of color.

public int ColorA { get; }

Property Value

int

ColorB

Gets the blue of color.

public int ColorB { get; }

Property Value

int

ColorG

Gets the green of color.

public int ColorG { get; }

Property Value

int

ColorR

Gets the red of color.

public int ColorR { get; }

Property Value

int

EdgeColorInfo

Gets or sets the faces color information.

public TopologyColorInfo EdgeColorInfo { get; set; }

Property Value

TopologyColorInfo

FaceColorInfo

Gets or sets the faces color information.

public TopologyColorInfo FaceColorInfo { get; set; }

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.

public virtual XmlSchema GetSchema()

Returns

XmlSchema

An that describes the XML representation of the object that is produced by the method and consumed by the method.

OnDeserialization(object)

Called when [deserialization].

virtual void OnDeserialization(object sender)

Parameters

sender object

The sender.

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.

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.

Connect with Ansys