Class: ARCHline.Color
Class: ARCHline.Color
Inherits:
ARCHline.Color
show all
Overview
This class holds the Color property of an ARCHline entity.
Version:
2021 development
Instance Property Summary
- [
#color ⇒ { get; }
](#color-instance_property)
The RGB value of the color.
- [
#index ⇒ { get; set; }
](#index-instance_property)
The color index.
- [
#name ⇒ { get; }
](#name-instance_property)
The name of the color.
- [
#tableName ⇒ { get; }
](#tableName-instance_property)
The name of the color table.
#color ⇒ { get; }
The RGB value of the color.
Type:
Integer
Version:
- 2021 development
#index ⇒ { get; set; }
The color index.
Type:
Integer
Version:
- 2021 development
#name ⇒ { get; }
The name of the color.
Type:
String
Version:
- 2021 development
#tableName ⇒ { get; }
The name of the color table.
Type:
String
Version:
- 2021 development
Instance Method Summary
- [
#Color()
](#Color-instance_method)
- [
#Color(index)
](#Color-instance_method)
- [
#loadFromEntity(item) ⇒ Boolean
](#loadFromEntity-instance_method)
Loads the color from the specified entity.
- [
#saveToEntity(item) ⇒ Boolean
](#saveToEntity-instance_method)
Saves the color to the specified entity.
#Color()
Version:
2021 development
#Color(index)
Parameters:
index
(Integer)
Version:
- 2021 development
#loadFromEntity(item) ⇒ Boolean
Loads the color from the specified entity.
Parameters:
item
—
The entity.
Returns:
- (Boolean)
—
Whether the color is loaded successfully.
Version:
- 2021 development
#saveToEntity(item) ⇒ Boolean
Saves the color to the specified entity.
Parameters:
item
—
The entity.
Returns:
- (Boolean)
—
Whether the color is saved successfully.
Version:
- 2021 development