CompoundBorder

class CompoundBorder(val a: Border, val b: Border) : Border

A Border composed of two other Borders.

This is used in the ColorPicker for the alpha slider. Replace the flat-color PlainBackground, with a compound of the original, as a RepeatedBackground with a checkered image.

Constructors

Link copied to clipboard
constructor(a: Border, b: Border)

Properties

Link copied to clipboard
val a: Border
Link copied to clipboard
val b: Border

Functions

Link copied to clipboard
open override fun draw(x: Float, y: Float, width: Float, height: Float, size: Edges)

Draw just the border, not the area within it. However, if implementations wish to draw the inside area too, that's ok.