LinePatternElement

class HPS.LinePatternElement : public HPS.Object

The LinePatternElement class is a user space object. It is the base class for other line pattern element types. Line pattern elements are used to define a pattern that can be assigned lines or edges.

Subclassed by HPS.BlankLinePatternElement, HPS.GlyphLinePatternElement, HPS.SolidLinePatternElement

Public Functions

override void Dispose ()
bool Equals (HPS.LinePatternElement in_that)

Check if the source LinePatternElement is equivalent to this LinePatternElement.

Param in_that

The source LinePatternElement to compare to this LinePatternElement.

Return

true if the objects are equivalent, false otherwise.

override bool Equals (Object obj)
override int GetHashCode ()
LinePatternElement ()

The default constructor creates an empty LinePatternElement object.

LinePatternElement (HPS.LinePatternElement in_that)

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

Param in_that

The source LinePatternElement 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 Set (HPS.LinePatternElement in_that)

Copies the source LinePatternElement into this LinePatternElement.

Param in_that

The source LinePatternElement to copy.

void SetSize (float in_size, HPS.LinePattern.SizeUnits in_units)

Sets the size of this LinePatternElement.

Param in_size

The size of this LinePatternElement.

Param in_units

The units for the size of this LinePatternElement.

bool ShowSize (out float out_size, out HPS.LinePattern.SizeUnits out_units)

Shows the size of this LinePatternElement.

Param out_size

The size of this LinePatternElement.

Param out_units

The units for the size of this LinePatternElement.

Return

true if a size was set, false otherwise.

Public Static Functions

bool operator!= (HPS.LinePatternElement a, HPS.LinePatternElement b)
bool operator== (HPS.LinePatternElement a, HPS.LinePatternElement b)