public class IlvStyle
extends java.lang.Object
Note: Most setters on this class create a new, modified
IlvStyle
instance and don't modify the original instance.
These setters are:
#setStrokeOn(boolean)
, #setFillOn(boolean)
,
#setStroke(Stroke, Paint)
, #setStroke(Stroke)
,
#setStrokePaint(Paint)
, #setFillPaint(Paint)
.
But other setters modify the original instance destructively, like
bean property setters generally do. #setAbsolutePaint(boolean)
is such a setter.
CSS example:
ilvStyle {
class : "ilog.views.chart.IlvStyle(stroke,strokePaint,fillPaint)";
absolutePaint : "false";
fillPaint : "#000000";
stroke : "@#stroke";
strokePaint : "#000000";
}
Modifier and Type | Class and Description |
---|---|
static class |
IlvStyle.Change
Implements a set of changes that can be applied to
IlvStyle
instances. |
static class |
IlvStyle.ColorChange
An
IlvStyle.Change subclass that modifies the colors
of an IlvStyle . |
static class |
IlvStyle.IntensityChange
Changes the color intensity of an
IlvStyle . |
Modifier and Type | Property and Description |
---|---|
boolean |
absolutePaint
When set to false , the style adapts the
TexturePaint or GradientPaint to the bounds of
a shape before it is drawn. |
java.lang.String |
class
Creates a stroked and filled style. |
Paint |
fillPaint
Changes the fill paint of this style. |
Stroke |
stroke
Changes the stroke of this style. |
Paint |
strokePaint
Changes the stroke paint of this style. |
public java.lang.String class
class : "ilog.views.chart.IlvStyle(stroke,strokePaint,fillPaint)";
public boolean absolutePaint
false
, the style adapts the
TexturePaint
or GradientPaint
to the bounds of
a shape before it is drawn. The default value is true
.
absolutePaint : "false";
public Paint fillPaint
fillPaint : "#000000";
public Stroke stroke
stroke : "@#stroke";
BasicStroke
for an example of implementing a stroke.public Paint strokePaint
strokePaint : "#000000";
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.