ilog.views.chart
Class IlvStyle

ilog.views.chart.IlvStyle

public class IlvStyle

Defines a rendering style that controls the drawings appearance.

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";
}


Property Summary
 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.
 

Property Detail

class

public java.lang.String class

Creates a stroked and filled style.

CSS example:     class : "ilog.views.chart.IlvStyle(stroke,strokePaint,fillPaint)";


absolutePaint

public boolean absolutePaint

When set to false, the style adapts the TexturePaint or GradientPaint to the bounds of a shape before it is drawn. The default value is true.

CSS example:     absolutePaint : "false";


fillPaint

public Paint fillPaint

Changes the fill paint of this style.

CSS example:     fillPaint : "#000000";


stroke

public Stroke stroke

Changes the stroke of this style.

CSS example:     stroke : "@#stroke";

See implementing class BasicStroke for an example of implementing a stroke.


strokePaint

public Paint strokePaint

Changes the stroke paint of this style.

CSS example:     strokePaint : "#000000";



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.