The GlyphElement class is a user space object.
More...
|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
bool | cMemOwn |
|
HandleRef | cptr |
|
HandleRef | scptr |
|
The GlyphElement class is a user space object.
It is the base class for all glyph elements.
HPS.GlyphElement.GlyphElement |
( |
| ) |
|
The default constructor creates an empty GlyphElement object.
The copy constructor creates a new GlyphElement object that contains the same settings as the source GlyphElement.
- Parameters
-
in_that | The source <ref refid="class_h_p_s_1_1_glyph_element" kindref="compound">GlyphElement</ref> to copy. |
Check if the source GlyphElement is equivalent to this GlyphElement.
- Parameters
-
in_that | The source <ref refid="class_h_p_s_1_1_glyph_element" kindref="compound">GlyphElement</ref> to compare to this <ref refid="class_h_p_s_1_1_glyph_element" kindref="compound">GlyphElement</ref>. |
- Returns
- true if the objects are equivalent, false otherwise.
override HPS.Type HPS.GlyphElement.ObjectType |
( |
| ) |
|
|
virtual |
This function returns the type the object, as declared.
This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Object.
Reimplemented in HPS.InfiniteLineGlyphElement, and HPS.LineGlyphElement.
Sets the RGBA color for this GlyphElement.
- Parameters
-
in_color | The color for this <ref refid="class_h_p_s_1_1_glyph_element" kindref="compound">GlyphElement</ref>. |
Sets the fill mode for this GlyphElement.
- Parameters
-
in_fill | The fill mode for this <ref refid="class_h_p_s_1_1_glyph_element" kindref="compound">GlyphElement</ref>. |
void HPS.GlyphElement.SetIndexedColor |
( |
byte |
in_index | ) |
|
Sets the color index for this GlyphElement.
- Parameters
-
in_index | The color index for this <ref refid="class_h_p_s_1_1_glyph_element" kindref="compound">GlyphElement</ref>. |
void HPS.GlyphElement.SetNormalColor |
( |
| ) |
|
Sets that this GlyphElement should inherit the color of the owning geometry which uses the glyph.
Shows the color for this GlyphElement.
- Parameters
-
out_source | The color source for this <ref refid="class_h_p_s_1_1_glyph_element" kindref="compound">GlyphElement</ref>. |
out_index | The color index for this <ref refid="class_h_p_s_1_1_glyph_element" kindref="compound">GlyphElement</ref>. This is only valid if out_source is <ref refid="class_h_p_s_1_1_glyph_1abadc652d6f7223ce25aeeddb9b74656dacccd5fd8c8f59fe9373c56b1b951780c" kindref="member">Glyph::ColorSource::Indexed</ref>. |
out_color | The color for this <ref refid="class_h_p_s_1_1_glyph_element" kindref="compound">GlyphElement</ref>. This is only valid if out_source is <ref refid="class_h_p_s_1_1_glyph_1abadc652d6f7223ce25aeeddb9b74656da9d71760e2dd451db2df354d0fd29cd7f" kindref="member">Glyph::ColorSource::Explicit</ref>. |
- Returns
- true if a color was set, false otherwise.
Shows the fill mode for this GlyphElement.
- Parameters
-
out_fill | The fill mode for this <ref refid="class_h_p_s_1_1_glyph_element" kindref="compound">GlyphElement</ref>. |
- Returns
- true if a fill mode was set, false otherwise.
The documentation for this class was generated from the following file: