public abstract class XpsTilingBrush extends XpsTransformableBrush
Class incapsulating common features of tiling brushes elements (VisualBrush and ImageBrush).
Modifier and Type | Method and Description |
---|---|
XpsTileMode |
getTileMode()
Returns value specifying how tiling is performed in the filled geometry.
|
Rectangle2D |
getViewbox()
Returns the region of the source content of the brush that is to be mapped to the viewport.
|
Rectangle2D |
getViewport()
Returns the position and dimensions of the first brush tile.
|
void |
setTileMode(XpsTileMode value)
Sets value specifying how tiling is performed in the filled geometry.
|
void |
setViewbox(Rectangle2D value)
Sets the region of the source content of the brush that is to be mapped to the viewport.
|
void |
setViewport(Rectangle2D value)
Sets the position and dimensions of the first brush tile.
|
getTransform, setTransform
getOpacity, setOpacity
get, iterator, size
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Rectangle2D getViewbox()
Returns the region of the source content of the brush that is to be mapped to the viewport.
public void setViewbox(Rectangle2D value)
Sets the region of the source content of the brush that is to be mapped to the viewport.
value
- The region of the source content of the brush that is to be mapped to the viewport.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.
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.
value
- The position and dimensions of the first brush tile.public XpsTileMode getTileMode()
Returns value specifying how tiling is performed in the filled geometry.
public void setTileMode(XpsTileMode value)
Sets value specifying how tiling is performed in the filled geometry.
value
- Value specifying how tiling is performed in the filled geometry.