public abstract class Brush extends DisposableObject
The base brush class.
| Constructor and Description |
|---|
Brush() |
| Modifier and Type | Method and Description |
|---|---|
Brush |
deepClone()
Creates a new deep clone of the current
Brush. |
float |
getOpacity()
Gets the brush opacity.
|
void |
setOpacity(float value)
Sets the brush opacity.
|
close, dispose, getDisposedpublic float getOpacity()
Gets the brush opacity. The value should be between 0 and 1. Value of 0 means that brush is fully visible, value of 1 means the brush is fully opaque.
public void setOpacity(float value)
Sets the brush opacity. The value should be between 0 and 1. Value of 0 means that brush is fully visible, value of 1 means the brush is fully opaque.
value - The brush opacity value.public Brush deepClone()
Creates a new deep clone of the current Brush.
Brush which is the deep clone of this Brush instance.Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.