XpsVisualBrush
Inheritance: java.lang.Object, com.aspose.xps.XpsObject, com.aspose.xps.XpsBrush, com.aspose.xps.XpsTransformableBrush, com.aspose.xps.XpsTilingBrush
public final class XpsVisualBrush extends XpsTilingBrush
Class incapsulating VisualBrush property element features. This element is used to fill a region with a drawing.
Methods
Method | Description |
---|---|
deepClone() | Clones this visual brush. |
equals(Object arg0) | |
getClass() | |
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. |
getVisual() | Returns a Path, Glyphs, or Canvas element used to draw the brush\u2019s source content. |
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. |
setVisual(XpsContentElement visual) | Sets visual as Visual element of visual brush. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
deepClone()
public XpsVisualBrush deepClone()
Clones this visual brush.
Returns: XpsVisualBrush - Clone of this visual 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
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.
getVisual()
public XpsContentElement getVisual()
Returns a Path, Glyphs, or Canvas element used to draw the brush\u2019s source content.
Returns: XpsContentElement - A Path, Glyphs, or Canvas element used to draw the brush\u2019s source content.
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. |
setVisual(XpsContentElement visual)
public void setVisual(XpsContentElement visual)
Sets visual as Visual element of visual brush.
Parameters:
Parameter | Type | Description |
---|---|---|
visual | XpsContentElement | The element. |
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 |