public class CircularCellDecorator extends CellDecorator
CalendarElement.CENTER
Constructor and Description |
---|
CircularCellDecorator(RadCalendarView owner)
Creates a new instance of the
CircularCellDecorator class. |
CircularCellDecorator(RadCalendarView owner,
float circleScale)
Creates a new instance of the
CircularCellDecorator class. |
Modifier and Type | Method and Description |
---|---|
float |
getRadius()
Gets the value of the radius of the circular decoration.
|
void |
setRadius(float radius)
Sets an explicit radius for the circular decoration.
|
clearDecorations, getScale, isStroked, renderLayer, setScale, setStroked, toggleDecorationForCell
getColor, getStrokeWidth, render, setColor, setStrokeWidth, toggleDecorationForCell
public CircularCellDecorator(RadCalendarView owner)
CircularCellDecorator
class.owner
- the calendar instance owning this decorator.public CircularCellDecorator(RadCalendarView owner, float circleScale)
CircularCellDecorator
class.owner
- the calendar instance owning this decorator.circleScale
- the shapeScale of the circle [0, 1]CellDecorator.getScale()
public void setRadius(float radius)
radius
- a floating point value representing the radius.public float getRadius()