Spec-Zone .ru
спецификации, руководства, описания, API
|
public final class BackgroundFill extends java.lang.Object
Region
. Because BackgroundFill is an immutable object, it can safely be
used in any cache, and can safely be reused among multiple Regions or multiple
times in the same Region.
All BackgroundFills are drawn in order.
When applied to a Region with a defined shape, the corner radii are ignored.Constructor and Description |
---|
BackgroundFill(Paint fill,
CornerRadii radii,
Insets insets)
Creates a new BackgroundFill with the specified fill, radii, and
insets.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Paint |
getFill() |
Insets |
getInsets() |
CornerRadii |
getRadii() |
int |
hashCode() |
public BackgroundFill(Paint fill, CornerRadii radii, Insets insets)
fill
- Any Paint. If null, the value Color.TRANSPARENT is used.radii
- The corner Radii. If null, the value Radii.EMPTY is used.insets
- The insets. If null, the value Insets.EMPTY is used.public final CornerRadii getRadii()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to