A pattern object describes which pixels are filled and which are left blank when an area is filled. Pattern objects are used by setting the FILL_PATTERN property of a polygon object equal to the object reference of the pattern object.
The IDLgrPattern:: Cleanup procedure method performs all cleanup on the object. IDLgrPattern is described above.
NOTE: Cleanup methods are special lifecycle methods , and as such cannot be called outside the context of object destruction. This means that in most cases, you cannot call the Cleanup method directly. There is one exception to this rule: If you write your own subclass of this class, you can call the Cleanup method from within the Cleanup method of the subclass.
The IDLgrPattern:: GetProperty procedure method retrieves the value of a property or group of properties for the pattern. IDLgrPattern is described above.
Any keyword to IDLgrPattern::Init
Set this keyword to a named variable that will contain an anonymous structure containing the values of all of the properties associated with the state of this object. State information about the object includes things like color, range, tick direction, etc., but not image, vertex, or connectivity data, or user values.
The IDLgrPattern:: Init function method initializes the pattern object. IDLgrPattern is described above.
NOTE: Init methods are special lifecycle methods , and as such cannot be called outside the context of object creation. This means that in most cases, you cannot call the Init method directly. There is one exception to this rule: If you write your own subclass of this class, you can call the Init method from within the Init method of the subclass.
Obj = OBJ_NEW('IDLgrPattern' [, Style] )
Result =
Obj
->
[IDLgrPattern::]
Init(
[Style]
) (
In a subclass' Init method only
.)
Properties retrievable via IDLgrPattern::GetProperty
Set this keyword to a scalar representing the angle (measured in degrees counterclockwise from the horizontal) of the lines used in a Line Fill. This keyword is ignored unless the Style argument (or STYLE property) is set to one.
Set this keyword equal to a string containing the name associated with this object. The default is the null string, ' '.
A 32 x 32 bit array (bitmap) describing the pattern that will be tiled over a polygon when a Pattern fill is used. The bitmap must be configured as a 4 x 32 "bitmap byte array" as created by the IDL CVTTOBM function. Each bit that is a 1 is drawn, each bit that is 0 is not drawn. This keyword is ignored unless the Style argument (or STYLE property) is set to two.
Set this keyword equal to a floating-point value representing the distance (measured in pixels) between the lines used for a Line Fill. This keyword is ignored unless the Style argument (or STYLE property) is set to one. The default is 2.0 pixels.
Set this keyword to specify the type of pattern to be used. Valid values are:
This keyword is the same as the Style argument described above.
Set this keyword to an integer value between 1 and 10, specifying the line thickness to be used to draw the pattern lines used for a Line Fill, in pixels. The default is one pixel. This keyword is ignored unless the Style argument (or STYLE property) is set to one.
Set this keyword to a value of any type. You can use this "user value" to contain any information you wish. Remember that if you set the user value equal to a pointer or object reference, you should destroy the pointer or object reference explicitly when destroying the object it is a user value of.
The IDLgrPattern:: SetProperty procedure method sets the value of a property or group of properties for the pattern. IDLgrPattern is described above.
Any keyword to IDLgrPattern::Init