public class Brush extends Object
The brush. Brushes are used to paint the interior of the geometric shapes defined by a Path element and the characters rendered with a Glyphs element. They are also used to define the alpha transparency mask in the Canvas.OpacityMask, Path.OpacityMask, and Glyphs.OpacityMask property elements.
| Constructor and Description |
|---|
Brush() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getItem()
Gets or sets the item.
|
void |
setItem(Object value)
Gets or sets the item.
|
public final Object getItem()
Gets or sets the item. Solid color brush - Fills a region with a solid color. Image brush - Fills a region with an image. Visual brush - Fills a region with a drawing. Linear gradient brush - Fills a region with a linear gradient. Radial gradient brush - Fills a region with a radial gradient.
public final void setItem(Object value)
Gets or sets the item. Solid color brush - Fills a region with a solid color. Image brush - Fills a region with an image. Visual brush - Fills a region with a drawing. Linear gradient brush - Fills a region with a linear gradient. Radial gradient brush - Fills a region with a radial gradient.
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.