XpsImageBrush
Inheritance: java.lang.Object, com.aspose.xps.XpsObject, com.aspose.xps.XpsBrush, com.aspose.xps.XpsTransformableBrush, com.aspose.xps.XpsTilingBrush
public final class XpsImageBrush extends XpsTilingBrush
Class incapsulating ImageBrush property element features. This element is used to fill a region with an image.
Methods
Method | Description |
---|---|
deepClone() | Clones this image brush. |
equals(Object arg0) | |
getClass() | |
getImage() | Returns image resource used to for the brush. |
getImageSource() | Returns the URI of an image resource. |
getOpacity() | Returns value defining the uniform transparency of the brush fill. |
getTileMode() | Returns value specifying how tiling is performed in the filled geometry. |
getTransform() | Returns the matrix transformation applied to the coordinate space of the brush. |
getViewbox() | Returns the region of the source content of the brush that is to be mapped to the viewport. |
getViewport() | Returns the position and dimensions of the first brush tile. |
hashCode() | |
notify() | |
notifyAll() | |
setOpacity(float value) | Sets value defining the uniform transparency of the brush fill. |
setTileMode(XpsTileMode value) | Sets value specifying how tiling is performed in the filled geometry. |
setTransform(XpsMatrix value) | Sets the matrix transformation applied to the coordinate space of the brush. |
setViewbox(Rectangle2D value) | Sets the region of the source content of the brush that is to be mapped to the viewport. |
setViewport(Rectangle2D value) | Sets the position and dimensions of the first brush tile. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
deepClone()
public XpsImageBrush deepClone()
Clones this image brush.
Returns: XpsImageBrush - Clone of this image brush.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getImage()
public XpsImage getImage()
Returns image resource used to for the brush.
Returns: XpsImage - Image resource used to for the brush.
getImageSource()
public String getImageSource()
Returns the URI of an image resource.
Returns: java.lang.String - The URI of an image resource.
getOpacity()
public float getOpacity()
Returns value defining the uniform transparency of the brush fill.
Returns: float - Value defining the uniform transparency of the brush fill.
getTileMode()
public XpsTileMode getTileMode()
Returns value specifying how tiling is performed in the filled geometry.
Returns: XpsTileMode - Value specifying how tiling is performed in the filled geometry.
getTransform()
public XpsMatrix getTransform()
Returns the matrix transformation applied to the coordinate space of the brush. The Transform property is concatenated with the current effective render transform to yield an effective render transform local to the brush. The viewport for the brush is transformed using the local effective render transform.
Returns: XpsMatrix - The matrix transformation applied to the coordinate space of the brush.
getViewbox()
public Rectangle2D getViewbox()
Returns the region of the source content of the brush that is to be mapped to the viewport.
Returns: java.awt.geom.Rectangle2D - The region of the source content of the brush that is to be mapped to the viewport.
getViewport()
public Rectangle2D getViewport()
Returns the position and dimensions of the first brush tile. Subsequent tiles are positioned relative to this tile, as specified by the tile mode.
Returns: java.awt.geom.Rectangle2D - The position and dimensions of the first brush tile.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setOpacity(float value)
public void setOpacity(float value)
Sets value defining the uniform transparency of the brush fill.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | Value defining the uniform transparency of the brush fill. |
setTileMode(XpsTileMode value)
public void setTileMode(XpsTileMode value)
Sets value specifying how tiling is performed in the filled geometry.
Parameters:
Parameter | Type | Description |
---|---|---|
value | XpsTileMode | Value specifying how tiling is performed in the filled geometry. |
setTransform(XpsMatrix value)
public void setTransform(XpsMatrix value)
Sets the matrix transformation applied to the coordinate space of the brush. The Transform property is concatenated with the current effective render transform to yield an effective render transform local to the brush. The viewport for the brush is transformed using the local effective render transform.
Parameters:
Parameter | Type | Description |
---|---|---|
value | XpsMatrix | The matrix transformation applied to the coordinate space of the brush. |
setViewbox(Rectangle2D value)
public void setViewbox(Rectangle2D value)
Sets the region of the source content of the brush that is to be mapped to the viewport.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.geom.Rectangle2D | The region of the source content of the brush that is to be mapped to the viewport. |
setViewport(Rectangle2D value)
public void setViewport(Rectangle2D value)
Sets the position and dimensions of the first brush tile. Subsequent tiles are positioned relative to this tile, as specified by the tile mode.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.geom.Rectangle2D | The position and dimensions of the first brush tile. |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |