public final class Pattern extends CanvasObject
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
CanvasPatternItem |
getCanvasPattern()
Returns the canvas pattern if exists.
|
int |
getHeight()
Returns the image height used in the pattern.
|
Img |
getImage()
Returns the image used in the pattern if exists.
|
Repetition |
getRepetition()
Returns the repetition to use in the pattern.
|
int |
getWidth()
Returns the image width used in the pattern.
|
int |
hashCode() |
getId
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public Img getImage()
null
.public int getWidth()
public int getHeight()
public Repetition getRepetition()
public CanvasPatternItem getCanvasPattern()
null
.public int hashCode()
hashCode
in class CanvasObject
public boolean equals(Object obj)
equals
in class CanvasObject