-
-
Notifications
You must be signed in to change notification settings - Fork 120
ACadSharp.Color
Albert Domenech edited this page Aug 4, 2024
·
3 revisions
Namespace: ACadSharp
C#
IsReadOnlyAttribute
public sealedstruct Color
Returns | Name | Summary |
---|---|---|
Byte |
B | Blue component of the color |
Byte |
G | Green component of the color |
Int16 |
Index | Indexed color. If the color is stored as a true color, returns -1; |
Boolean |
IsByBlock | Defines if the color is defined by block. |
Boolean |
IsByLayer | Defines if the color is defined by layer. |
Boolean |
IsTrueColor | True if the stored color is a true color. False if the color is an indexed color. |
Byte |
R | Red component of the color |
Int32 |
TrueColor | True color. If the color is stored as an indexed color, returns -1; |
Returns | Name | Summary |
---|---|---|
Boolean |
Equals(ACadSharp.Color) | |
Boolean |
Equals(System.Object) | |
Byte |
GetApproxIndex | Approximates color from a true color RGB. |
Int32 |
GetHashCode | |
ReadOnlySpan<Byte> |
GetRgb | Returns the RGB color code |
ReadOnlySpan<Byte> |
GetTrueColorRgb | Returns the RGB color code using the true color value. |
String |
ToString |
ACadSharp Class Library Documentation
Documentation created by NetDocGen
- ACadSharp
- ACadSharp.Attributes
- ACadSharp.Blocks
- ACadSharp.Classes
- ACadSharp.Entities
- ACadSharp.Exceptions
- ACadSharp.Header
- ACadSharp.IO
- ACadSharp.Objects
- ACadSharp.Objects.Collections
- ACadSharp.Tables
- ACadSharp.Tables.Collections
- ACadSharp.Types.Units
- CSMath
- CSMath.Geometry
- CSUtilities.Attributes
- CSUtilities.Extensions