Class BuilderColor
Last update: 16.07.2025Namespace: VM.Managed.CAD
Assembly: VMAppCore.dll
This class is to represent the color of builder.
public class BuilderColor
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
BuilderColor(byte, byte, byte, byte)
Initializes a new instance of the
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
public BuilderColor(Color color)
Parameters
color Color
The color
BuilderColor()
Initializes a new instance of the
public BuilderColor()
Properties
ColorA
Gets the alpha of color.
public int ColorA { get; }
Property Value
ColorB
Gets the blue of color.
public int ColorB { get; }
Property Value
ColorG
Gets the green of color.
public int ColorG { get; }
Property Value
ColorR
Gets the red of color.
public int ColorR { get; }
Property Value
EdgeColorInfo
Gets or sets the faces color information.
public TopologyColorInfo EdgeColorInfo { get; set; }
Property Value
FaceColorInfo
Gets or sets the faces color information.
public TopologyColorInfo FaceColorInfo { get; set; }
Property Value
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
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.