public class ResetZoomButton extends AbstractConfigurationObject
Constructor and Description |
---|
ResetZoomButton() |
Modifier and Type | Method and Description |
---|---|
Position |
getPosition() |
ResetZoomButtonRelativeTo |
getRelativeTo() |
ButtonTheme |
getTheme() |
void |
setPosition(Position position)
The position of the button.
|
void |
setRelativeTo(ResetZoomButtonRelativeTo relativeTo)
What frame the button should be placed related to.
|
void |
setTheme(ButtonTheme theme)
A collection of attributes for the button.
|
public Position getPosition()
setPosition(Position)
public void setPosition(Position position)
public ResetZoomButtonRelativeTo getRelativeTo()
setRelativeTo(ResetZoomButtonRelativeTo)
public void setRelativeTo(ResetZoomButtonRelativeTo relativeTo)
Defaults to: plot
public ButtonTheme getTheme()
setTheme(ButtonTheme)
public void setTheme(ButtonTheme theme)
fill
, stroke
,
stroke-width
or r
, the border radius. The theme
also supports style
, a collection of CSS properties for the
text. Equivalent attributes for the hover state are given in
theme.states.hover
.Copyright © 2023. All rights reserved.