Inheritance diagram for HPS.TextKit:
HPS.Kit HPS.Object

Public Member Functions

void Consume (HPS.TextKit in_kit)
 
override void Dispose ()
 
HPS.TextKit EditTextByDeletion (ulong in_row, ulong in_column, ulong in_count)
 
HPS.TextKit EditTextByInsertion (ulong in_row, ulong in_column, ulong in_count, string in_text)
 
HPS.TextKit EditTextByReplacement (ulong in_row, ulong in_column, ulong in_count, string in_text)
 
override bool Empty ()
 
override bool Equals (System.Object obj)
 
bool Equals (HPS.TextKit in_kit)
 
override int GetHashCode ()
 
override HPS.Type ObjectType ()
 
void Set (HPS.TextKit in_kit)
 
HPS.TextKit SetAlignment (HPS.Text.Alignment in_alignment, HPS.Text.ReferenceFrame in_reference_frame, HPS.Text.Justification in_justification)
 
HPS.TextKit SetAlignment (HPS.Text.Alignment in_alignment, HPS.Text.ReferenceFrame in_reference_frame)
 
HPS.TextKit SetAlignment (HPS.Text.Alignment in_alignment)
 
HPS.TextKit SetBackground (bool in_state, string in_name)
 
HPS.TextKit SetBackground (string in_name)
 
HPS.TextKit SetBackground (bool in_state)
 
HPS.TextKit SetBackgroundMargins (float in_size, HPS.Text.MarginUnits in_units)
 
HPS.TextKit SetBackgroundMargins (float in_size)
 
HPS.TextKit SetBackgroundMargins (float[] in_sizes, HPS.Text.MarginUnits[] in_units)
 
HPS.TextKit SetBackgroundStyle (string in_name)
 
HPS.TextKit SetBold (bool in_state)
 
HPS.TextKit SetColor (HPS.RGBAColor in_rgba_color)
 
HPS.TextKit SetColorByIndex (float in_index)
 
HPS.TextKit SetExtraSpace (bool in_state, float in_size, HPS.Text.SizeUnits in_units)
 
HPS.TextKit SetExtraSpace (bool in_state, float in_size)
 
HPS.TextKit SetExtraSpace (bool in_state)
 
HPS.TextKit SetExtraSpace (float in_size, HPS.Text.SizeUnits in_units)
 
HPS.TextKit SetFont (string in_name)
 
HPS.TextKit SetGreeking (bool in_state, float in_size, HPS.Text.GreekingUnits in_units, HPS.Text.GreekingMode in_mode)
 
HPS.TextKit SetGreeking (bool in_state, float in_size, HPS.Text.GreekingUnits in_units)
 
HPS.TextKit SetGreeking (bool in_state, float in_size)
 
HPS.TextKit SetGreeking (bool in_state)
 
HPS.TextKit SetGreeking (float in_size, HPS.Text.GreekingUnits in_units, HPS.Text.GreekingMode in_mode)
 
HPS.TextKit SetGreeking (float in_size, HPS.Text.GreekingUnits in_units)
 
HPS.TextKit SetItalic (bool in_state)
 
HPS.TextKit SetLeaderLine (HPS.Point in_position, HPS.Text.LeaderLineSpace in_space)
 
HPS.TextKit SetLeaderLine (HPS.Point in_position)
 
HPS.TextKit SetLeaderLines (HPS.Point[] in_positions, HPS.Text.LeaderLineSpace in_space)
 
HPS.TextKit SetLeaderLines (HPS.Point[] in_positions)
 
HPS.TextKit SetLineSpacing (float in_multiplier)
 
HPS.TextKit SetModellingMatrix (HPS.MatrixKit in_matrix)
 
HPS.TextKit SetOverline (bool in_state)
 
HPS.TextKit SetPath (HPS.Vector in_path)
 
HPS.TextKit SetPosition (HPS.Point in_position)
 
HPS.TextKit SetPreference (HPS.Text.Preference in_pref)
 
HPS.TextKit SetPreference (float in_cutoff, HPS.Text.SizeUnits in_units, HPS.Text.Preference in_smaller, HPS.Text.Preference in_larger)
 
HPS.TextKit SetPriority (int in_priority)
 
HPS.TextKit SetRegion (HPS.Point[] in_region, HPS.Text.RegionAlignment in_region_alignment, HPS.Text.RegionFitting in_region_fitting, bool in_region_adjust_direction, bool in_region_relative_coordinates, bool in_region_window_space)
 
HPS.TextKit SetRenderer (HPS.Text.Renderer in_rend)
 
HPS.TextKit SetRotation (HPS.Text.Rotation in_state, float in_angle)
 
HPS.TextKit SetRotation (HPS.Text.Rotation in_state)
 
HPS.TextKit SetRotation (float in_angle)
 
HPS.TextKit SetSize (float in_size, HPS.Text.SizeUnits in_units)
 
HPS.TextKit SetSizeTolerance (bool in_state, float in_size, HPS.Text.SizeToleranceUnits in_units)
 
HPS.TextKit SetSizeTolerance (bool in_state, float in_size)
 
HPS.TextKit SetSizeTolerance (bool in_state)
 
HPS.TextKit SetSizeTolerance (float in_size, HPS.Text.SizeToleranceUnits in_units)
 
HPS.TextKit SetSlant (float in_angle)
 
HPS.TextKit SetSpacing (float in_multiplier)
 
HPS.TextKit SetStrikethrough (bool in_state)
 
HPS.TextKit SetText (string in_string)
 
HPS.TextKit SetTransform (HPS.Text.Transform in_trans)
 
HPS.TextKit SetUnderline (bool in_state)
 
HPS.TextKit SetUserData (IntPtr in_index, ulong in_bytes, byte[] in_data)
 
HPS.TextKit SetUserData (IntPtr in_index, byte[] in_data)
 
HPS.TextKit SetUserData (IntPtr[] in_indices, byte[][] in_data)
 
void Show (out HPS.TextKit out_kit)
 
bool ShowAlignment (out HPS.Text.Alignment out_alignment, out HPS.Text.ReferenceFrame out_reference_frame, out HPS.Text.Justification out_justification)
 
bool ShowBackground (out bool out_state, out string out_name)
 
bool ShowBackgroundMargins (out float[] out_size, out HPS.Text.MarginUnits[] out_units)
 
bool ShowBackgroundStyle (out string out_name)
 
bool ShowBold (out bool out_state)
 
bool ShowColor (out HPS.Material.Type out_type, out HPS.RGBAColor out_rgba_color, out float out_index)
 
bool ShowExtraSpace (out bool out_state, out float out_size, out HPS.Text.SizeUnits out_units)
 
bool ShowFont (out string out_name)
 
bool ShowGreeking (out bool out_state, out float out_size, out HPS.Text.GreekingUnits out_units, out HPS.Text.GreekingMode out_mode)
 
bool ShowItalic (out bool out_state)
 
bool ShowLeaderLines (out HPS.Point[] out_positions, out HPS.Text.LeaderLineSpace out_space)
 
bool ShowLineSpacing (out float out_multiplier)
 
bool ShowModellingMatrix (out HPS.MatrixKit out_matrix)
 
bool ShowOverline (out bool out_state)
 
bool ShowPath (out HPS.Vector out_path)
 
bool ShowPosition (out HPS.Point out_position)
 
bool ShowPreference (out float out_cutoff, out HPS.Text.SizeUnits out_units, out HPS.Text.Preference out_smaller, out HPS.Text.Preference out_larger)
 
bool ShowPriority (out int out_priority)
 
bool ShowRegion (out HPS.Point[] out_region, out HPS.Text.RegionAlignment out_region_alignment, out HPS.Text.RegionFitting out_region_fitting, out bool out_region_adjust_direction, out bool out_region_relative_coordinates, out bool out_region_window_space)
 
bool ShowRenderer (out HPS.Text.Renderer out_renderer)
 
bool ShowRotation (out HPS.Text.Rotation out_rot, out float out_angle)
 
bool ShowSize (out float out_size, out HPS.Text.SizeUnits out_units)
 
bool ShowSizeTolerance (out bool out_state, out float out_size, out HPS.Text.SizeToleranceUnits out_units)
 
bool ShowSlant (out float out_angle)
 
bool ShowSpacing (out float out_multiplier)
 
bool ShowStrikethrough (out bool out_state)
 
bool ShowText (out string out_string)
 
bool ShowTransform (out HPS.Text.Transform out_trans)
 
bool ShowUnderline (out bool out_state)
 
bool ShowUserData (IntPtr in_index, out byte[] out_data)
 
bool ShowUserData (out IntPtr[] out_indices, out byte[][] out_data)
 
ulong ShowUserDataCount ()
 
bool ShowUserDataIndices (out IntPtr[] out_indices)
 
 TextKit ()
 
 TextKit (HPS.TextKit in_kit)
 
HPS.TextKit UnsetAlignment ()
 
HPS.TextKit UnsetAllUserData ()
 
HPS.TextKit UnsetBackground ()
 
HPS.TextKit UnsetBackgroundMargins ()
 
HPS.TextKit UnsetBackgroundStyle ()
 
HPS.TextKit UnsetBold ()
 
HPS.TextKit UnsetColor ()
 
HPS.TextKit UnsetEverything ()
 
HPS.TextKit UnsetExtraSpace ()
 
HPS.TextKit UnsetFont ()
 
HPS.TextKit UnsetGreeking ()
 
HPS.TextKit UnsetItalic ()
 
HPS.TextKit UnsetLeaderLines ()
 
HPS.TextKit UnsetLineSpacing ()
 
HPS.TextKit UnsetModellingMatrix ()
 
HPS.TextKit UnsetOverline ()
 
HPS.TextKit UnsetPath ()
 
HPS.TextKit UnsetPosition ()
 
HPS.TextKit UnsetPreference ()
 
HPS.TextKit UnsetPriority ()
 
HPS.TextKit UnsetRegion ()
 
HPS.TextKit UnsetRenderer ()
 
HPS.TextKit UnsetRotation ()
 
HPS.TextKit UnsetSize ()
 
HPS.TextKit UnsetSizeTolerance ()
 
HPS.TextKit UnsetSlant ()
 
HPS.TextKit UnsetSpacing ()
 
HPS.TextKit UnsetStrikethrough ()
 
HPS.TextKit UnsetText ()
 
HPS.TextKit UnsetTransform ()
 
HPS.TextKit UnsetUnderline ()
 
HPS.TextKit UnsetUserData (IntPtr in_index)
 
HPS.TextKit UnsetUserData (IntPtr[] in_indices)
 
- Public Member Functions inherited from HPS.Kit
 Kit (HPS.Kit in_that)
 
override HPS.Type Type ()
 
- Public Member Functions inherited from HPS.Object
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 
bool HasType (HPS.Type in_mask)
 
 Object (HPS.Object that)
 
virtual void Reset ()
 

Static Public Member Functions

static bool operator!= (HPS.TextKit a, HPS.TextKit b)
 
static bool operator== (HPS.TextKit a, HPS.TextKit b)
 
- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Protected Attributes inherited from HPS.Object
bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The TextKit class is a user space object. It is the kit analog to a TextKey.

Constructor & Destructor Documentation

◆ TextKit() [1/2]

HPS.TextKit.TextKit ( )
inline

The default constructor creates an empty TextKit object.

◆ TextKit() [2/2]

HPS.TextKit.TextKit ( HPS.TextKit  in_kit)
inline

The copy constructor creates a new TextKit object that contains the same settings as the source TextKit.

Parameters
in_kitThe source TextKit to copy.

Member Function Documentation

◆ Consume()

void HPS.TextKit.Consume ( HPS.TextKit  in_kit)
inline

Copies the source TextKit into this TextKit and resets the source kit.

Parameters
in_kitThe source TextKit to consume.

◆ EditTextByDeletion()

HPS.TextKit HPS.TextKit.EditTextByDeletion ( ulong  in_row,
ulong  in_column,
ulong  in_count 
)
inline

Removes characters from the text at the specified offset.

Parameters
in_rowThe row offset into a multiline text string. This value must be less than the number of lines in the text string.
in_columnThe column offset in Unicode code points into the specified row in a multiline text string. This value must be less than the number of Unicode code points within the specified row.
in_countThe number of Unicode code points within the given text string to remove.
Returns
A reference to this TextKit.

◆ EditTextByInsertion()

HPS.TextKit HPS.TextKit.EditTextByInsertion ( ulong  in_row,
ulong  in_column,
ulong  in_count,
string  in_text 
)
inline

Adds characters to the text at the specified offset.

Parameters
in_rowThe row offset into a multiline text string. This value must be less than the number of lines in the text string.
in_columnThe column offset in Unicode code points into the specified row in a multiline text string. This value must be less than the number of Unicode code points within the specified row.
in_countThe number of Unicode code points within the given text string to insert into the text.
in_textUTF8-encoded text to insert into the text. This must contain at least in_count Unicode code points.
Returns
A reference to this TextKit.

◆ EditTextByReplacement()

HPS.TextKit HPS.TextKit.EditTextByReplacement ( ulong  in_row,
ulong  in_column,
ulong  in_count,
string  in_text 
)
inline

Replaces characters from the text at the specified offset.

Parameters
in_rowThe row offset into a multiline text string. This value must be less than the number of lines in the text string.
in_columnThe column offset in Unicode code points into the specified row in a multiline text string. This value must be less than the number of Unicode code points within the specified row.
in_countThe number of Unicode code points within the given text string to remove.
in_textUTF8-encoded text to perform replacement with. This must contain at least in_count Unicode code points.
Returns
A reference to this TextKit.

◆ Empty()

override bool HPS.TextKit.Empty ( )
inlinevirtual

Indicates whether this TextKit has any values set on it.

Returns
true if no values are set on this TextKit, false otherwise.

Reimplemented from HPS.Object.

◆ Equals()

bool HPS.TextKit.Equals ( HPS.TextKit  in_kit)
inline

Check if the source TextKit is equivalent to this TextKit.

Parameters
in_kitThe source TextKit to compare to this TextKit.
Returns
true if the objects are equivalent, false otherwise.

◆ ObjectType()

override HPS.Type HPS.TextKit.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.Kit.

◆ Set()

void HPS.TextKit.Set ( HPS.TextKit  in_kit)
inline

Copies the source TextKit into this TextKit.

Parameters
in_kitThe source TextKit to copy.

◆ SetAlignment() [1/3]

HPS.TextKit HPS.TextKit.SetAlignment ( HPS.Text.Alignment  in_alignment,
HPS.Text.ReferenceFrame  in_reference_frame,
HPS.Text.Justification  in_justification 
)
inline

Sets the alignment for the text.

Parameters
in_alignmentThe alignment for the text.
in_reference_frameThe reference frame for the text. Defaults to Text.ReferenceFrame.WorldAligned.
in_justificationThe justification for the text. Defaults to Text.Justification.Left.
Returns
A reference to this TextKit.

◆ SetAlignment() [2/3]

HPS.TextKit HPS.TextKit.SetAlignment ( HPS.Text.Alignment  in_alignment,
HPS.Text.ReferenceFrame  in_reference_frame 
)
inline

Sets the alignment for the text.

Parameters
in_alignmentThe alignment for the text.
in_reference_frameThe reference frame for the text. Defaults to Text.ReferenceFrame.WorldAligned.
Returns
A reference to this TextKit.

◆ SetAlignment() [3/3]

HPS.TextKit HPS.TextKit.SetAlignment ( HPS.Text.Alignment  in_alignment)
inline

Sets the alignment for the text.

Parameters
in_alignmentThe alignment for the text.
Returns
A reference to this TextKit.

◆ SetBackground() [1/3]

HPS.TextKit HPS.TextKit.SetBackground ( bool  in_state,
string  in_name 
)
inline

Sets the background to be used with text.

Parameters
in_stateWhether a background is drawn for text.
in_nameThe name of a shape definition.
Returns
A reference to this object.

◆ SetBackground() [2/3]

HPS.TextKit HPS.TextKit.SetBackground ( string  in_name)
inline

Sets the background to be used with text. The state is implicitly on.

Parameters
in_nameThe name of a shape definition.
Returns
A reference to this object.

◆ SetBackground() [3/3]

HPS.TextKit HPS.TextKit.SetBackground ( bool  in_state)
inline

Sets the background to be used with text.

Parameters
in_stateWhether a background is drawn for text.
Returns
A reference to this object.

◆ SetBackgroundMargins() [1/3]

HPS.TextKit HPS.TextKit.SetBackgroundMargins ( float  in_size,
HPS.Text.MarginUnits  in_units 
)
inline

Sets the amount of additional padding around text strings when backgrounds are used.

Parameters
in_sizeThe size of the margins.
in_unitsThe units of the size.
Returns
A reference to this object.

◆ SetBackgroundMargins() [2/3]

HPS.TextKit HPS.TextKit.SetBackgroundMargins ( float  in_size)
inline

Sets the amount of additional padding around text strings when backgrounds are used.

Parameters
in_sizeThe size of the margins.
Returns
A reference to this object.

◆ SetBackgroundMargins() [3/3]

HPS.TextKit HPS.TextKit.SetBackgroundMargins ( float []  in_sizes,
HPS.Text.MarginUnits []  in_units 
)
inline

Sets the amount of additional padding around text strings when backgrounds are used. Additional margin values can also be referenced within definitions of background shapes and leader lines.

Parameters
in_sizesThe size of the margins.
in_unitsThe units of the size.
Returns
A reference to this object.

◆ SetBackgroundStyle()

HPS.TextKit HPS.TextKit.SetBackgroundStyle ( string  in_name)
inline

Allows specifying a named style to be used in the drawing of text backgrounds. If no style is specified, backgrounds inherit the face and edge attributes from the containing segment.

Parameters
in_nameThe name of a style, defined in a portfolio that is accessible.
Returns
A reference to this object.

◆ SetBold()

HPS.TextKit HPS.TextKit.SetBold ( bool  in_state)
inline

Sets whether the text should be bold. For fonts which do not have a bold variant, this setting will be ignored.

Parameters
in_stateWhether the text should be bold.
Returns
A reference to this TextKit.

◆ SetColor()

HPS.TextKit HPS.TextKit.SetColor ( HPS.RGBAColor  in_rgba_color)
inline

Sets the RGBA color of the text.

Parameters
in_rgba_colorThe RGBA color of the text.
Returns
A reference to this TextKit.

◆ SetColorByIndex()

HPS.TextKit HPS.TextKit.SetColorByIndex ( float  in_index)
inline

Sets the material index color for the text.

Parameters
in_indexThe material index color for the text.
Returns
A reference to this TextKit.

◆ SetExtraSpace() [1/4]

HPS.TextKit HPS.TextKit.SetExtraSpace ( bool  in_state,
float  in_size,
HPS.Text.SizeUnits  in_units 
)
inline

Sets the amount of additional space to add between characters in a text string.

Parameters
in_stateWhether to add addtional space between characters in a text string.
in_sizeThe size of the addtional space to add between characters. Defaults to 0.0f.
in_unitsThe units of the size of the additional space to add between characters. Defaults to Text.SizeUnits.ObjectSpace.
Returns
A reference to this TextKit.

◆ SetExtraSpace() [2/4]

HPS.TextKit HPS.TextKit.SetExtraSpace ( bool  in_state,
float  in_size 
)
inline

Sets the amount of additional space to add between characters in a text string.

Parameters
in_stateWhether to add addtional space between characters in a text string.
in_sizeThe size of the addtional space to add between characters. Defaults to 0.0f.
Returns
A reference to this TextKit.

◆ SetExtraSpace() [3/4]

HPS.TextKit HPS.TextKit.SetExtraSpace ( bool  in_state)
inline

Sets the amount of additional space to add between characters in a text string.

Parameters
in_stateWhether to add addtional space between characters in a text string.
Returns
A reference to this TextKit.

◆ SetExtraSpace() [4/4]

HPS.TextKit HPS.TextKit.SetExtraSpace ( float  in_size,
HPS.Text.SizeUnits  in_units 
)
inline

Sets the amount of additional space to add between characters in a text string. This function implicitly enables the addition of extra space.

Parameters
in_sizeThe size of the addtional space to add between characters.
in_unitsThe units of the size of the additional space to add between characters.
Returns
A reference to this TextKit.

◆ SetFont()

HPS.TextKit HPS.TextKit.SetFont ( string  in_name)
inline

Sets the font to use for the text. This must either be a builtin font or a font Visualize can locate in the directories specified by World.SetFontDirectories. If the requested font cannot be found, the stroked font will be used.

Parameters
in_nameUTF8-encoded font name to use for the text.
Returns
A reference to this TextKit.
See also
World.SetFontDirectories

◆ SetGreeking() [1/6]

HPS.TextKit HPS.TextKit.SetGreeking ( bool  in_state,
float  in_size,
HPS.Text.GreekingUnits  in_units,
HPS.Text.GreekingMode  in_mode 
)
inline

Sets the greeking settings to use for the text.

Parameters
in_stateWhether greeking is enabled for this text.
in_sizeThe size below which to draw a simple symbol in place of a character. Defaults to 0.0f.
in_unitsThe units of the size below which to draw a simple glyph in place of a character. Defaults to Text.GreekingUnits.ObjectSpace.
in_modeThe type of symbol to draw for characters which are smaller than the greeking size. Defaults to Text.GreekingMode.Lines.
Returns
A reference to this TextKit.

◆ SetGreeking() [2/6]

HPS.TextKit HPS.TextKit.SetGreeking ( bool  in_state,
float  in_size,
HPS.Text.GreekingUnits  in_units 
)
inline

Sets the greeking settings to use for the text.

Parameters
in_stateWhether greeking is enabled for this text.
in_sizeThe size below which to draw a simple symbol in place of a character. Defaults to 0.0f.
in_unitsThe units of the size below which to draw a simple glyph in place of a character. Defaults to Text.GreekingUnits.ObjectSpace.
Returns
A reference to this TextKit.

◆ SetGreeking() [3/6]

HPS.TextKit HPS.TextKit.SetGreeking ( bool  in_state,
float  in_size 
)
inline

Sets the greeking settings to use for the text.

Parameters
in_stateWhether greeking is enabled for this text.
in_sizeThe size below which to draw a simple symbol in place of a character. Defaults to 0.0f.
Returns
A reference to this TextKit.

◆ SetGreeking() [4/6]

HPS.TextKit HPS.TextKit.SetGreeking ( bool  in_state)
inline

Sets the greeking settings to use for the text.

Parameters
in_stateWhether greeking is enabled for this text.
Returns
A reference to this TextKit.

◆ SetGreeking() [5/6]

HPS.TextKit HPS.TextKit.SetGreeking ( float  in_size,
HPS.Text.GreekingUnits  in_units,
HPS.Text.GreekingMode  in_mode 
)
inline

Sets the greeking settings to use for the text. This function implicitly enables text greeking.

Parameters
in_sizeThe size below which to draw a simple symbol in place of a character.
in_unitsThe units of the size below which to draw a simple glyph in place of a character.
in_modeThe type of symbol to draw for characters which are smaller than the greeking size. Defaults to Text.Gree.Lines.
Returns
A reference to this TextKit.

◆ SetGreeking() [6/6]

HPS.TextKit HPS.TextKit.SetGreeking ( float  in_size,
HPS.Text.GreekingUnits  in_units 
)
inline

Sets the greeking settings to use for the text. This function implicitly enables text greeking.

Parameters
in_sizeThe size below which to draw a simple symbol in place of a character.
in_unitsThe units of the size below which to draw a simple glyph in place of a character.
Returns
A reference to this TextKit.

◆ SetItalic()

HPS.TextKit HPS.TextKit.SetItalic ( bool  in_state)
inline

Sets whether the text should be italic. For fonts which do not have an italic variant, this setting will be ignored.

Parameters
in_stateWhether the text should be italic.
Returns
A reference to this TextKit.

◆ SetLeaderLine() [1/2]

HPS.TextKit HPS.TextKit.SetLeaderLine ( HPS.Point  in_position,
HPS.Text.LeaderLineSpace  in_space 
)
inline

Inserts a leader line for this text, with one end specified by in_position and the other end calculated automatically.

Parameters
in_positionthe target position of the leader line.
in_spacethe coordinate space in which in_position is specified.
Returns
A reference to this object.

◆ SetLeaderLine() [2/2]

HPS.TextKit HPS.TextKit.SetLeaderLine ( HPS.Point  in_position)
inline

Inserts a leader line for this text, with one end specified by in_position and the other end calculated automatically.

Parameters
in_positionthe target position of the leader line.
Returns
A reference to this object.

◆ SetLeaderLines() [1/2]

HPS.TextKit HPS.TextKit.SetLeaderLines ( HPS.Point []  in_positions,
HPS.Text.LeaderLineSpace  in_space 
)
inline

Inserts leader lines for this text.

Parameters
in_positionsthe target positions of the leader lines.
in_spacethe coordinate space in which in_positions is specified.
Returns
A reference to this object.

◆ SetLeaderLines() [2/2]

HPS.TextKit HPS.TextKit.SetLeaderLines ( HPS.Point []  in_positions)
inline

Inserts leader lines for this text.

Parameters
in_positionsthe target positions of the leader lines.
Returns
A reference to this object.

◆ SetLineSpacing()

HPS.TextKit HPS.TextKit.SetLineSpacing ( float  in_multiplier)
inline

Sets the line spacing multiplier for the text. This is a multiple of the font size that will be used to determine spacing between lines in multi-line text string.

Parameters
in_multiplierThe line spacing multiplier for the text.
Returns
A reference to this TextKit.

◆ SetModellingMatrix()

HPS.TextKit HPS.TextKit.SetModellingMatrix ( HPS.MatrixKit  in_matrix)
inline

Sets the modelling matrix for the text.

Parameters
in_matrixThe modelling matrix for the text.
Returns
A reference to this TextKit.

◆ SetOverline()

HPS.TextKit HPS.TextKit.SetOverline ( bool  in_state)
inline

Sets whether an overline should be drawn over the text.

Parameters
in_stateWhether an overline should be drawn over the text.
Returns
A reference to this TextKit.

◆ SetPath()

HPS.TextKit HPS.TextKit.SetPath ( HPS.Vector  in_path)
inline

Sets the path for the text. This setting controls the vector along which a text string will be displayed.

Parameters
in_pathThe path for the text.
Returns
A reference to this TextKit.

◆ SetPosition()

HPS.TextKit HPS.TextKit.SetPosition ( HPS.Point  in_position)
inline

Sets the position of the text in object space. The object-space position for the text.

Returns
A reference to this TextKit.

◆ SetPreference() [1/2]

HPS.TextKit HPS.TextKit.SetPreference ( HPS.Text.Preference  in_pref)
inline

Sets the font type preference for the text. This function implicitly sets the same font type for all text sizes.

Returns
A reference to this TextKit.

◆ SetPreference() [2/2]

HPS.TextKit HPS.TextKit.SetPreference ( float  in_cutoff,
HPS.Text.SizeUnits  in_units,
HPS.Text.Preference  in_smaller,
HPS.Text.Preference  in_larger 
)
inline

Sets the preference for the text. This setting controls which font type is used for the text for "large" and "small" sizes and the cutoff at which this distinction is made.

Parameters
in_cutoffThe font size below which the smaller preference is used and above which the larger preference is used.
in_unitsThe units for the font size below which the smaller preference is used and above which the larger preference is used.
in_smallerThe font type preference for strings below the cutoff size.
in_largerThe font type preference for strings above the cutoff size.
Returns
A reference to this TextKit.

◆ SetPriority()

HPS.TextKit HPS.TextKit.SetPriority ( int  in_priority)
inline

Assigns a specific drawing priority value to the TextKit. It affects the order in which the contents of this segment are drawn if and only if the rendering algorithm is set to Priority.

Parameters
in_priorityThe drawing priority, higher priority items are drawn on top of lower priority items.
Returns
A reference to this object.
See also
SubwindowKit.SetPriority()
SubwindowKit.SetRenderingAlgorithm()

◆ SetRegion()

HPS.TextKit HPS.TextKit.SetRegion ( HPS.Point []  in_region,
HPS.Text.RegionAlignment  in_region_alignment,
HPS.Text.RegionFitting  in_region_fitting,
bool  in_region_adjust_direction,
bool  in_region_relative_coordinates,
bool  in_region_window_space 
)
inline

Sets the region for the text. This setting forces the text to be rendererd along the vector defined by two object space points. A region additionally allows control over if text should be evenly spaced between those points, or allowed to grow or shrink to avoid stretching or overlapping characters. No region is set on the text by default.

Parameters
in_regionThe points defining the region for the text. This array must be of size 2 or 3. A two point region defines an implicit up vector which is rotated 90 degrees counter-clockwise from the region line. A three point region uses the first two points as the region line and the third point defines the plane in which a vector perpendicular to the region line will be computed for use as the up vector.
in_region_alignmentHow the text will be positioned relative to the region line.
in_region_fittingHow the text is organized within the region.
in_region_adjust_directionWhether to draw text such that it is readable regardless of camera location.
in_region_relative_coordinatesWhether the points defining the region are relative to the insertion point for the text.
in_region_window_spaceWhether the points defining the region are in window space coordinates.
Returns
A reference to this TextKit.
See also
SetPath

◆ SetRenderer()

HPS.TextKit HPS.TextKit.SetRenderer ( HPS.Text.Renderer  in_rend)
inline

Sets the renderer for the text.

Returns
A reference to this TextKit.

◆ SetRotation() [1/3]

HPS.TextKit HPS.TextKit.SetRotation ( HPS.Text.Rotation  in_state,
float  in_angle 
)
inline

Sets the angle characters should be rotated within the text string.

Parameters
in_stateWhether and how to rotate the characters within the text string.
in_angleThe angle in degrees to rotate each character within the text string. This is only relevant if in_state is Text.Rotation.Rotate. Defaults to 0.0f.
Returns
A reference to this TextKit.

◆ SetRotation() [2/3]

HPS.TextKit HPS.TextKit.SetRotation ( HPS.Text.Rotation  in_state)
inline

Sets the angle characters should be rotated within the text string.

Parameters
in_stateWhether and how to rotate the characters within the text string.
Returns
A reference to this TextKit.

◆ SetRotation() [3/3]

HPS.TextKit HPS.TextKit.SetRotation ( float  in_angle)
inline

Sets the angle characters should be rotated within the text string. This function implicitly sets a rotation state of Text.Rotation.Rotate.

Parameters
in_angleThe angle in degrees to rotate each character within the text string.
Returns
A reference to this TextKit.

◆ SetSize()

HPS.TextKit HPS.TextKit.SetSize ( float  in_size,
HPS.Text.SizeUnits  in_units 
)
inline

Sets the font size to use for the text.

Parameters
in_sizeThe size for the text.
in_unitsThe units of the size for the text.
Returns
A reference to this TextKit.

◆ SetSizeTolerance() [1/4]

HPS.TextKit HPS.TextKit.SetSizeTolerance ( bool  in_state,
float  in_size,
HPS.Text.SizeToleranceUnits  in_units 
)
inline

Sets the size tolerance settings to use for the text. These settings control how to render text strings which request a size not available for a bitmap font. If a size tolerance is specified and enabled, Visualize will use the nearest smaller size for the bitmap font within the tolerance in place of the requested size. If a size tolerance is not enabled, Visualize will attempt to scale up the nearest bitmap font size to the requested size. This setting has no effect for True Type or Open Type fonts.

Parameters
in_stateWhether a size tolerance is enabled for this text.
in_sizeThe size for the tolerance. Defaults to 50.0f.
in_unitsThe units of the size for the tolerance. Defaults to Text.SizeToleranceUnits.Percent.
Returns
A reference to this TextKit.

◆ SetSizeTolerance() [2/4]

HPS.TextKit HPS.TextKit.SetSizeTolerance ( bool  in_state,
float  in_size 
)
inline

Sets the size tolerance settings to use for the text. These settings control how to render text strings which request a size not available for a bitmap font. If a size tolerance is specified and enabled, Visualize will use the nearest smaller size for the bitmap font within the tolerance in place of the requested size. If a size tolerance is not enabled, Visualize will attempt to scale up the nearest bitmap font size to the requested size. This setting has no effect for True Type or Open Type fonts.

Parameters
in_stateWhether a size tolerance is enabled for this text.
in_sizeThe size for the tolerance. Defaults to 50.0f.
Returns
A reference to this TextKit.

◆ SetSizeTolerance() [3/4]

HPS.TextKit HPS.TextKit.SetSizeTolerance ( bool  in_state)
inline

Sets the size tolerance settings to use for the text. These settings control how to render text strings which request a size not available for a bitmap font. If a size tolerance is specified and enabled, Visualize will use the nearest smaller size for the bitmap font within the tolerance in place of the requested size. If a size tolerance is not enabled, Visualize will attempt to scale up the nearest bitmap font size to the requested size. This setting has no effect for True Type or Open Type fonts.

Parameters
in_stateWhether a size tolerance is enabled for this text.
Returns
A reference to this TextKit.

◆ SetSizeTolerance() [4/4]

HPS.TextKit HPS.TextKit.SetSizeTolerance ( float  in_size,
HPS.Text.SizeToleranceUnits  in_units 
)
inline

Sets the size tolerance settings to use for the text. These settings control how to render text strings which request a size not available for a bitmap font. If a size tolerance is specified and enabled, Visualize will use the nearest smaller size for the bitmap font within the tolerance in place of the requested size. If a size tolerance is not enabled, Visualize will attempt to scale up the nearest bitmap font size to the requested size. This setting has no effect for True Type or Open Type fonts. This function implicitly enables a size tolerance.

Parameters
in_sizeThe size for the tolerance.
in_unitsThe units of the size for the tolerance.
Returns
A reference to this TextKit.

◆ SetSlant()

HPS.TextKit HPS.TextKit.SetSlant ( float  in_angle)
inline

Sets the slant angle for the text. This determines how far the characters in the string are sheared to the left (negative angle) or right (positive angle) relative to the perpendicular.

Parameters
in_angleThe angle in degrees to slant the text. This value must be in the range [-75.0f,+75.0f].
Returns
A reference to this TextKit.

◆ SetSpacing()

HPS.TextKit HPS.TextKit.SetSpacing ( float  in_multiplier)
inline

Sets the spacing multiplier for the text. This setting controls the spacing between adjacent characters within a string. A value of 0.0f would result in all characters being drawn on top of each other, a value of 1.0f would be the standard spacing between characters, a value of 2.0f would insert twice as much space as would normally be between two characters, and so on.

Parameters
in_multiplierThe spacing multiplier for the text.
Returns
A reference to this TextKit.

◆ SetStrikethrough()

HPS.TextKit HPS.TextKit.SetStrikethrough ( bool  in_state)
inline

Sets whether a strikethrough should be drawn through the text.

Parameters
in_stateWhether a strikethrough should be drawn through the text.
Returns
A reference to this TextKit.

◆ SetText()

HPS.TextKit HPS.TextKit.SetText ( string  in_string)
inline

Sets the contents of the string for the text.

Parameters
in_stringUTF8-encoded string for the text.
Returns
A reference to this TextKit.

◆ SetTransform()

HPS.TextKit HPS.TextKit.SetTransform ( HPS.Text.Transform  in_trans)
inline

Sets the transform behavior for the text.

Returns
A reference to this TextKit.

◆ SetUnderline()

HPS.TextKit HPS.TextKit.SetUnderline ( bool  in_state)
inline

Sets whether an underline should be drawn under the text.

Parameters
in_stateWhether an underline should be drawn under the text.
Returns
A reference to this TextKit.

◆ SetUserData() [1/3]

HPS.TextKit HPS.TextKit.SetUserData ( IntPtr  in_index,
ulong  in_bytes,
byte []  in_data 
)
inline

Sets user data on this kit.

Parameters
in_indexThe index of the user data to set.
in_bytesThe number of bytes of user data to set.
in_dataThe bytes of user data to set.
Returns
A reference to this kit.

◆ SetUserData() [2/3]

HPS.TextKit HPS.TextKit.SetUserData ( IntPtr  in_index,
byte []  in_data 
)
inline

Sets user data on this kit.

Parameters
in_indexThe index of the user data to set.
in_dataThe bytes of user data to set.
Returns
A reference to this kit.

◆ SetUserData() [3/3]

HPS.TextKit HPS.TextKit.SetUserData ( IntPtr []  in_indices,
byte  in_data[][] 
)
inline

Sets user data on this kit.

Parameters
in_indicesAn array of user data indices to set.
in_dataAn array of bytes of user data to set.
Returns
A reference to this kit.

◆ Show()

void HPS.TextKit.Show ( out HPS.TextKit  out_kit)
inline

Copies this TextKit into the given TextKit.

Parameters
out_kitThe TextKit to populate with the contents of this TextKit.

◆ ShowAlignment()

bool HPS.TextKit.ShowAlignment ( out HPS.Text.Alignment  out_alignment,
out HPS.Text.ReferenceFrame  out_reference_frame,
out HPS.Text.Justification  out_justification 
)
inline

Shows the aligment for the text.

Parameters
out_alignmentThe alignment for the text.
out_reference_frameThe reference frame for the text.
out_justificationThe justification for the text.
Returns
true if an alignment was set, false otherwise.

◆ ShowBackground()

bool HPS.TextKit.ShowBackground ( out bool  out_state,
out string  out_name 
)
inline

Shows the background to be used with text.

Parameters
out_stateWhether a background is drawn for text.
out_nameThe name of a shape definition.
Returns
true if a spacing multiplier was set, false otherwise.

◆ ShowBackgroundMargins()

bool HPS.TextKit.ShowBackgroundMargins ( out float []  out_size,
out HPS.Text.MarginUnits []  out_units 
)
inline

Shows the amount of additional padding around text strings when backgrounds are used.

Parameters
out_sizeThe size of the margins.
out_unitsThe units of the sizes.
Returns
true if a spacing multiplier was set, false otherwise.

◆ ShowBackgroundStyle()

bool HPS.TextKit.ShowBackgroundStyle ( out string  out_name)
inline

Shows the named style to be used in the drawing of text backgrounds.

Parameters
out_nameThe name of a style, defined in a portfolio that is accessible.
Returns
true if a spacing multiplier was set, false otherwise.

◆ ShowBold()

bool HPS.TextKit.ShowBold ( out bool  out_state)
inline

Shows whether the text should be bold.

Parameters
out_stateWhether the text should be bold.
Returns
true if a bold setting was set, false otherwise.

◆ ShowColor()

bool HPS.TextKit.ShowColor ( out HPS.Material.Type  out_type,
out HPS.RGBAColor  out_rgba_color,
out float  out_index 
)
inline

Shows the color for the text.

Parameters
out_typeThe type of color for the text.
out_rgba_colorThe RGBA color for the text. This is only valid if out_type is Material.Type.RGBAColor.
out_indexThe material index for the text. This is only valid if out_type is Material.Type.MaterialIndex.
Returns
true if a color was set, false otherwise.

◆ ShowExtraSpace()

bool HPS.TextKit.ShowExtraSpace ( out bool  out_state,
out float  out_size,
out HPS.Text.SizeUnits  out_units 
)
inline

Shows the amount of additional space to add between characters in a text string.

Parameters
out_stateWhether to add addtional space between characters in a text string.
out_sizeThe size of the addtional space to add between characters.
out_unitsThe units of the size of the additional space to add between characters.
Returns
true if an extra space setting was set, false otherwise.

◆ ShowFont()

bool HPS.TextKit.ShowFont ( out string  out_name)
inline

Shows the font to use for the text.

Parameters
out_nameUTF8-encoded font name to use for the text.
Returns
true if a font was set, false otherwise.

◆ ShowGreeking()

bool HPS.TextKit.ShowGreeking ( out bool  out_state,
out float  out_size,
out HPS.Text.GreekingUnits  out_units,
out HPS.Text.GreekingMode  out_mode 
)
inline

Shows the greeking settings to use for the text.

Parameters
out_stateWhether greeking is enabled for this text.
out_sizeThe size below which to draw a simple symbol in place of a character.
out_unitsThe units of the size below which to draw a simple glyph in place of a character.
out_modeThe type of symbol to draw for characters which are smaller than the greeking size.
Returns
true if greeking settings were set, false otherwise.

◆ ShowItalic()

bool HPS.TextKit.ShowItalic ( out bool  out_state)
inline

Shows whether the text should be italic.

Parameters
out_stateWhether the text should be italic.
Returns
true if an italic setting was set, false otherwise.

◆ ShowLeaderLines()

bool HPS.TextKit.ShowLeaderLines ( out HPS.Point []  out_positions,
out HPS.Text.LeaderLineSpace  out_space 
)
inline

Shows the leader lines to be used with text.

Parameters
out_positionsthe target positions of the leader lines.
out_spacethe coordinate space in which the points in out_positions are specified
Returns
true if leader lines were set, false otherwise.

◆ ShowLineSpacing()

bool HPS.TextKit.ShowLineSpacing ( out float  out_multiplier)
inline

Shows the line spacing multiplier for the text.

Parameters
out_multiplierThe line spacing multiplier for the text.
Returns
true if a line space multiplier was set, false otherwise.

◆ ShowModellingMatrix()

bool HPS.TextKit.ShowModellingMatrix ( out HPS.MatrixKit  out_matrix)
inline

Shows the modelling matrix for the text.

Parameters
out_matrixThe modelling matrix for the text.
Returns
true if a modelling matrix was set, false otherwise.

◆ ShowOverline()

bool HPS.TextKit.ShowOverline ( out bool  out_state)
inline

Shows whether an overline should be drawn over the text.

Parameters
out_stateWhether an overline should be drawn over the text.
Returns
true if an overline setting was set, false otherwise.

◆ ShowPath()

bool HPS.TextKit.ShowPath ( out HPS.Vector  out_path)
inline

Shows the path for the text.

Parameters
out_pathThe path for the text.
Returns
true if a path was set, false otherwise.

◆ ShowPosition()

bool HPS.TextKit.ShowPosition ( out HPS.Point  out_position)
inline

Shows the position for the text.

Parameters
out_positionThe object-space position for the text.
Returns
true if a position was set, false otherwise.

◆ ShowPreference()

bool HPS.TextKit.ShowPreference ( out float  out_cutoff,
out HPS.Text.SizeUnits  out_units,
out HPS.Text.Preference  out_smaller,
out HPS.Text.Preference  out_larger 
)
inline

Shows the preference for the text.

Parameters
out_cutoffThe font size below which the smaller preference is used and above which the larger preference is used.
out_unitsThe units for the font size below which the smaller preference is used and above which the larger preference is used.
out_smallerThe font type preference for strings below the cutoff size.
out_largerThe font type preference for strings above the cutoff size.
Returns
true if a preference was set, false otherwise.

◆ ShowPriority()

bool HPS.TextKit.ShowPriority ( out int  out_priority)
inline

Shows the drawing priority.

Parameters
out_priorityThe drawing priority, higher priority items are drawn on top of lower priority items.
Returns
true if the setting is valid, false otherwise.

◆ ShowRegion()

bool HPS.TextKit.ShowRegion ( out HPS.Point []  out_region,
out HPS.Text.RegionAlignment  out_region_alignment,
out HPS.Text.RegionFitting  out_region_fitting,
out bool  out_region_adjust_direction,
out bool  out_region_relative_coordinates,
out bool  out_region_window_space 
)
inline

Shows the region for the text.

Parameters
out_regionThe points defining the region for the text.
out_region_alignmentHow the text will be positioned relative to the region line.
out_region_fittingHow the text will be organized within the region.
out_region_adjust_directionWhether to draw text such that it is readable regardless of camera location.
out_region_relative_coordinatesWhether the points defining the region are relative to the insertion point for the text.
out_region_window_spaceWhether the points defining the region are in window space coordinates.
Returns
true if a region was set, false otherwise.

◆ ShowRenderer()

bool HPS.TextKit.ShowRenderer ( out HPS.Text.Renderer  out_renderer)
inline

Shows the renderer for the text.

Returns
true if a renderer was set, false otherwise.

◆ ShowRotation()

bool HPS.TextKit.ShowRotation ( out HPS.Text.Rotation  out_rot,
out float  out_angle 
)
inline

Shows the angle characters should be rotated within the text string.

Parameters
out_rotWhether to rotate the characters within the text string, and if so, what the angle should be measured with repect to.
out_angleThe angle in degrees to rotate each character within the text string.
Returns
true if a rotation setting was set, false otherwise.

◆ ShowSize()

bool HPS.TextKit.ShowSize ( out float  out_size,
out HPS.Text.SizeUnits  out_units 
)
inline

Shows the font size to use for the text.

Parameters
out_sizeThe size for the text.
out_unitsThe units of the size for the text.
Returns
true if a size was set, false otherwise.

◆ ShowSizeTolerance()

bool HPS.TextKit.ShowSizeTolerance ( out bool  out_state,
out float  out_size,
out HPS.Text.SizeToleranceUnits  out_units 
)
inline

Shows the size tolerance settings to use for the text.

Parameters
out_stateWhether a size tolerance is enabled for this text.
out_sizeThe size for the tolerance.
out_unitsThe units of the size for the tolerance.
Returns
true if a size tolerance was set, false otherwise.

◆ ShowSlant()

bool HPS.TextKit.ShowSlant ( out float  out_angle)
inline

Shows the slant angle for the text.

Parameters
out_angleThe angle in degrees to slant the text.
Returns
true if a slang angle was set, false otherwise.

◆ ShowSpacing()

bool HPS.TextKit.ShowSpacing ( out float  out_multiplier)
inline

Shows the spacing multiplier for the text.

Parameters
out_multiplierThe spacing multiplier for the text.
Returns
true if a spacing multiplier was set, false otherwise.

◆ ShowStrikethrough()

bool HPS.TextKit.ShowStrikethrough ( out bool  out_state)
inline

Shows whether a strikethrough should be drawn through the text.

Parameters
out_stateWhether a strikethrough should be drawn through the text.
Returns
true if a strikethrough setting was set, false otherwise.

◆ ShowText()

bool HPS.TextKit.ShowText ( out string  out_string)
inline

Shows the string for the text.

Parameters
out_stringUTF8-encoded string for the text.
Returns
true if a text string was set, false otherwise.

◆ ShowTransform()

bool HPS.TextKit.ShowTransform ( out HPS.Text.Transform  out_trans)
inline

Shows the transform state for the text.

Returns
true if a transform state was set, false otherwise.

◆ ShowUnderline()

bool HPS.TextKit.ShowUnderline ( out bool  out_state)
inline

Shows whether an underline should be drawn under the text.

Parameters
out_stateWhether an underline should be drawn under the text.
Returns
true if an underline setting was set, false otherwise.

◆ ShowUserData() [1/2]

bool HPS.TextKit.ShowUserData ( IntPtr  in_index,
out byte []  out_data 
)
inline

Shows the user data at a given index for this kit.

Parameters
in_indexThe index of the user data to show.
out_dataThe user data at the given index.
Returns
true if there is user data at the given index, false otherwise.

◆ ShowUserData() [2/2]

bool HPS.TextKit.ShowUserData ( out IntPtr []  out_indices,
out byte  out_data[][] 
)
inline

Shows all user data for this kit.

Parameters
out_indicesAn array of all user data indices set on this kit.
out_dataAn array of all user data set on this kit.
Returns
true if there is user data on this kit, false otherwise.

◆ ShowUserDataCount()

ulong HPS.TextKit.ShowUserDataCount ( )
inline

Get the number of user data indices set on this kit.

◆ ShowUserDataIndices()

bool HPS.TextKit.ShowUserDataIndices ( out IntPtr []  out_indices)
inline

Shows the indices of all user data set on this kit.

Parameters
out_indicesThe user data indices set on this kit.
Returns
The number of user data indices set on this kit.

◆ UnsetAlignment()

HPS.TextKit HPS.TextKit.UnsetAlignment ( )
inline

Removes the alignment setting from the text.

Returns
A reference to this TextKit.

◆ UnsetAllUserData()

HPS.TextKit HPS.TextKit.UnsetAllUserData ( )
inline

Removes all user data from this kit.

Returns
A reference to this kit.

◆ UnsetBackground()

HPS.TextKit HPS.TextKit.UnsetBackground ( )
inline

Removes the background setting.

Returns
A reference to this object.

◆ UnsetBackgroundMargins()

HPS.TextKit HPS.TextKit.UnsetBackgroundMargins ( )
inline

Removes the background margin setting.

Returns
A reference to this object.

◆ UnsetBackgroundStyle()

HPS.TextKit HPS.TextKit.UnsetBackgroundStyle ( )
inline

Removes the background style setting.

Returns
A reference to this object.

◆ UnsetBold()

HPS.TextKit HPS.TextKit.UnsetBold ( )
inline

Removes the bold setting from the text.

Returns
A reference to this TextKit.

◆ UnsetColor()

HPS.TextKit HPS.TextKit.UnsetColor ( )
inline

Removes the color (RGBA or material index) from the text.

Returns
A reference to this TextKit.

◆ UnsetEverything()

HPS.TextKit HPS.TextKit.UnsetEverything ( )
inline

Removes all settings from this TextKit.

Returns
A reference to this TextKit.

◆ UnsetExtraSpace()

HPS.TextKit HPS.TextKit.UnsetExtraSpace ( )
inline

Removes the extra space setting from the text.

Returns
A reference to this TextKit.

◆ UnsetFont()

HPS.TextKit HPS.TextKit.UnsetFont ( )
inline

Removes the font setting from the text.

Returns
A reference to this TextKit.

◆ UnsetGreeking()

HPS.TextKit HPS.TextKit.UnsetGreeking ( )
inline

Removes the greeking settings from the text.

Returns
A reference to this TextKit.

◆ UnsetItalic()

HPS.TextKit HPS.TextKit.UnsetItalic ( )
inline

Removes the italic setting from the text.

Returns
A reference to this TextKit.

◆ UnsetLeaderLines()

HPS.TextKit HPS.TextKit.UnsetLeaderLines ( )
inline

Removes the leader line setting.

Returns
A reference to this object.

◆ UnsetLineSpacing()

HPS.TextKit HPS.TextKit.UnsetLineSpacing ( )
inline

Removes the line spacing setting from the text.

Returns
A reference to this TextKit.

◆ UnsetModellingMatrix()

HPS.TextKit HPS.TextKit.UnsetModellingMatrix ( )
inline

Removes the modelling matrix from the text.

Returns
A reference to this TextKit.

◆ UnsetOverline()

HPS.TextKit HPS.TextKit.UnsetOverline ( )
inline

Removes the overline setting from the text.

Returns
A reference to this TextKit.

◆ UnsetPath()

HPS.TextKit HPS.TextKit.UnsetPath ( )
inline

Removes the path from the text.

Returns
A reference to this TextKit.

◆ UnsetPosition()

HPS.TextKit HPS.TextKit.UnsetPosition ( )
inline

Removes the text position.

Returns
A reference to this TextKit.

◆ UnsetPreference()

HPS.TextKit HPS.TextKit.UnsetPreference ( )
inline

Removes the font type preference from the text.

Returns
A reference to this TextKit.

◆ UnsetPriority()

HPS.TextKit HPS.TextKit.UnsetPriority ( )
inline

Removes a drawing priority setting.

Returns
A reference to this object.

◆ UnsetRegion()

HPS.TextKit HPS.TextKit.UnsetRegion ( )
inline

Removes the region setting from the text.

Returns
A reference to this TextKit.

◆ UnsetRenderer()

HPS.TextKit HPS.TextKit.UnsetRenderer ( )
inline

Removes the renderer setting from the text.

Returns
A reference to this TextKit.

◆ UnsetRotation()

HPS.TextKit HPS.TextKit.UnsetRotation ( )
inline

Removes the rotation setting from the text.

Returns
A reference to this TextKit.

◆ UnsetSize()

HPS.TextKit HPS.TextKit.UnsetSize ( )
inline

Removes the size setting from the text.

Returns
A reference to this TextKit.

◆ UnsetSizeTolerance()

HPS.TextKit HPS.TextKit.UnsetSizeTolerance ( )
inline

Removes the size tolerance setting from the text.

Returns
A reference to this TextKit.

◆ UnsetSlant()

HPS.TextKit HPS.TextKit.UnsetSlant ( )
inline

Removes the slant setting from the text.

Returns
A reference to this TextKit.

◆ UnsetSpacing()

HPS.TextKit HPS.TextKit.UnsetSpacing ( )
inline

Removes the spacing setting from the text.

Returns
A reference to this TextKit.

◆ UnsetStrikethrough()

HPS.TextKit HPS.TextKit.UnsetStrikethrough ( )
inline

Removes the strikethrough setting from the text.

Returns
A reference to this TextKit.

◆ UnsetText()

HPS.TextKit HPS.TextKit.UnsetText ( )
inline

Removes the text string.

Returns
A reference to this TextKit.

◆ UnsetTransform()

HPS.TextKit HPS.TextKit.UnsetTransform ( )
inline

Removes the transform setting from the text.

Returns
A reference to this TextKit.

◆ UnsetUnderline()

HPS.TextKit HPS.TextKit.UnsetUnderline ( )
inline

Removes the underline setting from the text.

Returns
A reference to this TextKit.

◆ UnsetUserData() [1/2]

HPS.TextKit HPS.TextKit.UnsetUserData ( IntPtr  in_index)
inline

Removes the user data at the given index from this kit.

Parameters
in_indexThe index of the user data to remove.
Returns
A reference to this kit.

◆ UnsetUserData() [2/2]

HPS.TextKit HPS.TextKit.UnsetUserData ( IntPtr []  in_indices)
inline

Removes the user data at the given indices from this kit.

Parameters
in_indicesThe indices of the user data to remove.
Returns
A reference to this kit.

The documentation for this class was generated from the following file:
  • internals/hps_core/source/cs/HPS.TextKit.cs