ZoomConfig

data class ZoomConfig(fill: Color, strokeColor: Color?, strokeWidth: Double?, minXZoomRatio: Double?, maxXZoomRatio: Double?, minYZoomRatio: Double?, maxYZoomRatio: Double?)

The Zoom configuration, styling information for the zooming rectangle layer, and min/max properties to define "zooming limits".

Constructors

ZoomConfig
Link copied to clipboard
common
fun ZoomConfig(fill: Color = Colors.Web.orangered.withAlpha(30.pct), strokeColor: Color? = null, strokeWidth: Double? = null, minXZoomRatio: Double? = .1, maxXZoomRatio: Double? = 10.0, minYZoomRatio: Double? = .1, maxYZoomRatio: Double? = 10.0)

Properties

fill
Link copied to clipboard
common
var fill: Color
The filling Color for the zooming selection layer.
maxXZoomRatio
Link copied to clipboard
common
var maxXZoomRatio: Double? = 10.0
The maximum Zoom ratio for the X axis
maxYZoomRatio
Link copied to clipboard
common
var maxYZoomRatio: Double? = 10.0
The maximum Zoom ratio for the Y axis
minXZoomRatio
Link copied to clipboard
common
var minXZoomRatio: Double? = .1
The minimum Zoom ratio for the X axis
minYZoomRatio
Link copied to clipboard
common
var minYZoomRatio: Double? = .1
The minimum Zoom ratio for the Y axis
strokeColor
Link copied to clipboard
common
var strokeColor: Color? = null
The stroke Color for the zooming selection layer.
strokeWidth
Link copied to clipboard
common
var strokeWidth: Double? = null
The filling thickness for the zooming selection layer.