public class SquareCellDecorator extends CellDecorator
CalendarElement.CENTER
Constructor and Description |
---|
SquareCellDecorator(RadCalendarView owner)
Creates a new instance of the
SquareCellDecorator class. |
SquareCellDecorator(RadCalendarView owner,
float squareScale)
Creates a new instance of the
SquareCellDecorator class. |
Modifier and Type | Method and Description |
---|---|
float |
getSize()
Returns the size of the square's side.
|
void |
setSize(float size)
Sets the size of the square side.
|
clearDecorations, getScale, isStroked, renderLayer, setScale, setStroked, toggleDecorationForCell
getColor, getStrokeWidth, render, setColor, setStrokeWidth, toggleDecorationForCell
public SquareCellDecorator(RadCalendarView owner)
SquareCellDecorator
class.owner
- the calendar instance owning this decorator.public SquareCellDecorator(RadCalendarView owner, float squareScale)
SquareCellDecorator
class.owner
- the calendar instance owning this decorator.squareScale
- the scale of the square [0, 1]CellDecorator.getScale()