DrawingGuide Class
An adjustable drawing guide.
Declaration
public final class DrawingGuide extends Struct<DrawingGuide>
Inherited Members
Inheritance
Constructors
DrawingGuide() Constructor
Initializes a new instance of the DrawingGuide class.
Declaration
public DrawingGuide()
DrawingGuide(Direction orientation, float position) Constructor
Initializes a new instance of the DrawingGuide class with specified settings.
Declaration
public DrawingGuide(Direction orientation, float position)
Parameters
| Name | Type | Description |
|---|---|---|
| orientation | Direction | The guide orientation. |
| position | float | The guide position. |
Methods
equals(Object obj) Method
Determines whether the specified object is equal to the current object.
Declaration
public boolean equals(Object obj)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| boolean |
|
getOrientation() Method
Returns the drawing guide’s orientation.
Declaration
public Direction getOrientation()
Returns
| Type | Description |
|---|---|
| Direction | The drawing guide’s orientation. |
Remarks
Create a DrawingGuide instance with its constructor to specify this value.
getPosition() Method
Returns the drawing guide’s position from the top-left corner of the slide, in points.
Declaration
public float getPosition()
Returns
| Type | Description |
|---|---|
| float | The drawing guide position, in points. |
Remarks
Create a DrawingGuide instance with its constructor to specify this value.
hashCode() Method
Returns a hash code for this DrawingGuide object.
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int | The identification number. |