-
public class SingleLayerVisual extends Visual
Baseclass for single layer visuals.
-
-
Field Summary
Fields Modifier and Type Field Description private final LimitedDoubleProperty
transparencyProperty
private Double
transparency
-
Method Summary
Modifier and Type Method Description final LimitedDoubleProperty
getTransparencyProperty()
Property for the transparency / alpha channel for this Visual. final Double
getTransparency()
final Unit
setTransparency(Double transparency)
-
Methods inherited from class tools.aqua.bgw.visual.SingleLayerVisual
copy
-
Methods inherited from class tools.aqua.bgw.visual.Visual
addListener, addListenerAndInvoke, clearListeners, notifyChange, removeListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getTransparencyProperty
final LimitedDoubleProperty getTransparencyProperty()
Property for the transparency / alpha channel for this Visual.
Must be set between 0 (full transparent) and 1 (non-transparent / solid). Default: 1.
-
getTransparency
final Double getTransparency()
-
setTransparency
final Unit setTransparency(Double transparency)
-
-
-
-