More...
|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
static IntPtr | ClassID< T > () |
|
bool | cMemOwn |
|
HandleRef | cptr |
|
The HPS.MarkerAttributeControl class is a smart pointer that is tied to a database object. This control allows you to manipulate the marker size and symbol at the segment level.
This table lists default values for the various segment attributes accessible from HPS.MarkerAttributeControl.
◆ MarkerAttributeControl() [1/2]
HPS.MarkerAttributeControl.MarkerAttributeControl |
( |
HPS.SegmentKey |
in_seg | ) |
|
|
inline |
Initializes a control tied to the segment in_seg.
◆ MarkerAttributeControl() [2/2]
Initializes a control tied to the same object as in_that.
◆ ObjectType()
override HPS.Type HPS.MarkerAttributeControl.ObjectType |
( |
| ) |
|
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Control.
◆ SetDrawingPreference()
Sets the drawing method for markers. Fastest will draw at requested size, unless that would incur performance cost. Nicest will anyway.
- Parameters
-
in_preference | The preferred drawing style. |
- Returns
- A reference to this object.
◆ SetGlyphRotation()
Sets the glyph rotation option.
- Parameters
-
in_rotation | The rotation for glyphs. |
- Returns
- A reference to this object.
◆ SetSize() [1/2]
Sets the size of markers.
- Parameters
-
in_size | The size for markers. |
in_units | The units of the size for markers. |
- Returns
- A reference to this object.
◆ SetSize() [2/2]
Sets the size of markers.
- Parameters
-
in_size | The size for markers. |
- Returns
- A reference to this object.
◆ SetSymbol()
Sets the glyph that should be used to draw markers.
- Parameters
-
in_glyph_name | A UTF8 encoded name of a glyph, defined in an accessible portfolio. |
- Returns
- A reference to this object.
◆ ShowDrawingPreference()
Shows the drawing method for markers.
- Parameters
-
out_preference | The preferred drawing style. return true if the setting is valid, false otherwise. |
◆ ShowGlyphRotation()
bool HPS.MarkerAttributeControl.ShowGlyphRotation |
( |
out float |
out_rotation | ) |
|
|
inline |
Shows the glyph rotation.
- Parameters
-
out_rotation | The rotation value. return true if the setting is valid, false otherwise. |
◆ ShowSize()
Shows the size of markers.
- Parameters
-
out_size | The size for markers. |
out_units | The units of the size for markers. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowSymbol()
bool HPS.MarkerAttributeControl.ShowSymbol |
( |
out string |
out_glyph_name | ) |
|
|
inline |
Shows the glyph that should be used to draw markers.
- Parameters
-
out_glyph_name | A UTF8 encoded name of a glyph, defined in an accessible portfolio. |
- Returns
- true if the setting is valid, false otherwise.
◆ Type()
override HPS.Type HPS.MarkerAttributeControl.Type |
( |
| ) |
|
|
inlinevirtual |
This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types.
- Returns
- The true type of the object in question.
Reimplemented from HPS.Control.
◆ UnsetDrawingPreference()
Removes the drawing preference setting
- Returns
- A reference to this object.
◆ UnsetEverything()
Removes all settings from this object. If the control is attached to a WindowKey this function restores the default settings of this control as specified by MarkerAttributeKit.GetDefault().
- Returns
- A reference to this object.
◆ UnsetGlyphRotation()
Removes the glyph rotation setting
- Returns
- A reference to this object.
◆ UnsetSize()
Removes the marker size setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MarkerAttributeKit.GetDefault().
- Returns
- A reference to this object.
◆ UnsetSymbol()
Removes the marker symbol setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by MarkerAttributeKit.GetDefault().
- Returns
- A reference to this object.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.MarkerAttributeControl.cs