public interface ScaleContextAware
ScaleContextSupport
Modifier and Type | Method and Description |
---|---|
double |
getScale(DerivedScaleType type) |
double |
getScale(ScaleType type) |
UserScaleContext |
getScaleContext() |
boolean |
setScale(Scale scale)
Sets the new scale in the context
|
boolean |
updateScaleContext(UserScaleContext ctx)
Updates the current context with the state of the provided context.
|
UserScaleContext getScaleContext()
boolean updateScaleContext(UserScaleContext ctx)
ctx
is null, then updates the current context via ScaleContext.update()
and returns the result.ctx
- the new scale contextdouble getScale(ScaleType type)
double getScale(DerivedScaleType type)
boolean setScale(Scale scale)