Skip to main content

DrawingGuide Class

An adjustable drawing guide.

Declaration

public final class DrawingGuide extends Struct<DrawingGuide>

Inherited Members

com.devexpress.system.Struct.equals(java.lang.Object)
com.devexpress.system.Struct.getHashCode()
com.devexpress.system.Struct.hashCode()
java.lang.Object.clone()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.Struct
DrawingGuide

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

true if the specified object is equal to the current object; otherwise, false.

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.