RaisedBorder

class RaisedBorder(val light: Color, val dark: Color) : Border

A rectangular border, with a 3D effect.

The top and left edges are drawn using a lighter color than the base. The bottom and right edges are drawn using a darker color than the base color.

Constructors

Link copied to clipboard
constructor(light: Color, dark: Color)

Properties

Link copied to clipboard
val dark: Color
Link copied to clipboard

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.

Link copied to clipboard
open override fun toString(): String