INNER CODE UNIT · Kotlin
Line
vipulasri/Timeline-View · timelineview-compose/src/main/java/com/vipulasri/timelineview/compose/LineStyle.kt:83
abstract class Line internal constructor(
open val color: Color,
open val width: Dp,
)
/**
* Represents a solid line style.
*/
@Immutable
data class SolidLine(
override val color: Color = TimelineDefaults.LineColor,
override val width: Dp = TimelineDefaults.LineWidth,
) : Line(color, width)
/**
* Represents a dashed line style.
* @property dashLength The length of each dash
* @property dashGap The gap between dashes