LineGlyphElement

class HPS.LineGlyphElement : public HPS.GlyphElement

The LineGlyphElement class is a user space object.

Public Functions

override void Dispose ()
LineGlyphElement ()

The default constructor creates an empty LineGlyphElement object.

LineGlyphElement (HPS.GlyphElement in_that)

This constructor creates a LineGlyphElement object that contains the same settings as the source GlyphElement. The copy will only be successful if the source glyph element is really an upcast of a line glyph element. Otherwise the copy will fail and the resulting LineGlyphElement will be invalid.

Param in_that

The source GlyphElement to copy.

LineGlyphElement (HPS.GlyphPoint[] in_points)

This constructor creates a LineGlyphElement with the specified point array.

Param in_points

The points for the line.

LineGlyphElement (HPS.LineGlyphElement in_that)

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

Param in_that

The source LineGlyphElement to copy.

override HPS.Type ObjectType ()

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).

Return

The declared type of the object in question, which may differ from the true, underlying type.

void SetPoints (HPS.GlyphPoint[] in_points)

Sets the points for this LineGlyphElement.

Param in_points

The points for the line.

bool ShowPoints (out HPS.GlyphPoint[] out_points)

Shows the points for this LineGlyphElement.

Param out_points

The points for the line.

Return

true if points were set, false otherwise.