Skip to main content

DXTextureBrush Class

An image brush.

Declaration

public class DXTextureBrush extends DXTilingBrush

Inherited Members

com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject
DXBrush
DXTilingBrush
DXTextureBrush

DXTextureBrush(DXImage image, DXWrapMode wrapMode)

Initializes a new instance of the DXTextureBrush class with specified settings.

Declaration

public DXTextureBrush(DXImage image, DXWrapMode wrapMode)

Parameters

Name Type Description
image DXImage

The image.

wrapMode DXWrapMode

The wrap mode.

Methods

clone() Method

Creates a copy of this texture brush.

Declaration

public DXBrush clone()

Returns

Type Description
DXBrush

The cloned DXBrush object.

close() Method

Releases resources used by this texture brush.

Declaration

public void close()

equals(Object obj) Method

Checks whether this texture brush equals the specified texture brush.

Declaration

public boolean equals(Object obj)

Parameters

Name Type Description
obj Object

The texture brush to compare.

Returns

Type Description
boolean

true if the specified object equals this texture brush; otherwise, false.

getImage() Method

Returns the image.

Declaration

public DXImage getImage()

Returns

Type Description
DXImage

The DXImage object.

hashCode() Method

Returns a hash code value for this object.

Declaration

public int hashCode()

Returns

Type Description
int

The hash code.