public class IlvBlinkingPaint extends java.lang.Object implements Paint
IlvGraphic
support blinking paints.
Limitation: For technical reasons, the "on" and "off" durations are
limited from 1 to max integer (not max long). It is recommended to use
the same durations whenever possible for all objects, and to choose the
durations not too small (e.g. not smaller than 100 ms), because otherwise
the performance of the system will degrade dramatically.
CSS example:
ilvBlinkingPaint {
class : "ilog.views.util.java2d.IlvBlinkingPaint(onPaint,offPaint,onPeriod,offPeriod)";
offPaint : "#000000";
offPeriod : "3";
onPaint : "#000000";
onPeriod : "3";
}
Modifier and Type | Property and Description |
---|---|
java.lang.String |
class
Creates a new blinking paint. |
Paint |
offPaint
Sets the paint of the "off" period. |
long |
offPeriod
Sets the duration, in milliseconds, of the "off" period. |
Paint |
onPaint
Sets the paint of the "on" period. |
long |
onPeriod
Sets the duration, in milliseconds, of the "on" period. |
public java.lang.String class
class : "ilog.views.util.java2d.IlvBlinkingPaint(onPaint,offPaint,onPeriod,offPeriod)";
public Paint offPaint
offPaint : "#000000";
public long offPeriod
offPeriod : "3";
public Paint onPaint
onPaint : "#000000";
public long onPeriod
onPeriod : "3";
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.