public class ChartLayoutContext extends Object
Constructor and Description |
---|
ChartLayoutContext() |
ChartLayoutContext(RadSize availableSize,
RadSize scale,
RadPoint pan,
RadRect clip)
Creates a new instance of the
ChartLayoutContext class. |
Modifier and Type | Method and Description |
---|---|
RadRect |
clipRect()
Gets the current clip for the chart layout as
RadRect . |
RadSize |
getAvailableSize()
Gets the current available size for the chart layout as
RadSize . |
RadPoint |
panOffset()
Gets the current pan offset for the chart layout as
Point . |
RadSize |
scale()
Gets the current chart layout scale as
RadSize . |
public ChartLayoutContext()
public ChartLayoutContext(RadSize availableSize, RadSize scale, RadPoint pan, RadRect clip)
ChartLayoutContext
class.availableSize
- the current available size for the chart layout.scale
- the current scale of the chart layout.pan
- the current pan of the chart layout.clip
- the current clip of the chart layout.public RadSize getAvailableSize()
RadSize
.RadSize
public RadSize scale()
RadSize
.RadSize
public RadPoint panOffset()
Point
.Point