Linear interpolation is supported between the following heterogeneous paint combinations:
Heterogeneous paint interpolation converts theColor to a visually identical gradient
paint, and then performs a linear interpolation between the two gradient paints.
If heterogeneous paints cannot be interpolated as described, the paints are interpolated
as discrete.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv abstract Object | |
| pack-priv boolean | |
| pack-priv void | |
| public abstract boolean | Returns: true if the Paint is opaque, false if it is not opaque or if it cannot be determined.Gets whether this Paint is completely opaque. |
| public static Paint |
| Paint | back to summary |
|---|---|
| pack-priv Paint() Only allow classes in this package to subclass Paint | |
| acc_addListener | back to summary |
|---|---|
| pack-priv void acc_addListener(AbstractNotifyListener platformChangeListener) | |
| acc_getPlatformPaint | back to summary |
|---|---|
| pack-priv abstract Object acc_getPlatformPaint() | |
| acc_isMutable | back to summary |
|---|---|
| pack-priv boolean acc_isMutable() | |
| acc_removeListener | back to summary |
|---|---|
| pack-priv void acc_removeListener(AbstractNotifyListener platformChangeListener) | |
| isOpaque | back to summary |
|---|---|
| public abstract boolean isOpaque() Gets whether this Paint is completely opaque. An opaque paint is one that has no alpha component in any of its colors. It may be possible for a Paint to be opaque and yet return false, if it cannot be easily determined whether the paint is actually opaque. For example, the ImagePattern may not be able to cheaply determine its opacity.
| |
| valueOf | back to summary |
|---|---|
| public static Paint valueOf(String value) Creates a paint value from a string representation. Recognizes strings
representing
| |