eventStyle

fun eventStyle(position: EventPosition, pointType: EventPointType = PointType, pointColor: Color = MaterialTheme.colorScheme.onPrimary, pointFillColor: Color = MaterialTheme.colorScheme.primary, pointRadius: Dp = PointRadius, pointAnimation: EventPointAnimation? = null, pointStrokeWidth: Dp = PointStrokeWidth, pointStrokeColor: Color = MaterialTheme.colorScheme.primary): JetLimeEventStyle

Creates a default JetLimeEventStyle object with specified parameters.

Return

A JetLimeEventStyle object configured with the given parameters.

Parameters

position

The position of the event relative to the timeline.

pointType

The type of point used in the event. Defaults to a filled point.

pointColor

The color of the point. Defaults to the 'onPrimary' color from MaterialTheme's color scheme.

pointFillColor

The fill color of the point. Defaults to the primary color from MaterialTheme's color scheme.

pointRadius

The radius of the point. Defaults to PointRadius.

pointAnimation

The animation for the point, if any.

pointStrokeWidth

The stroke width of the point. Defaults to PointStrokeWidth.

pointStrokeColor

The stroke color of the point. Defaults to the primary color from MaterialTheme's color scheme.