Content Draw Scope
Properties
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun drawRect(char: Char, foreground: Color = Color.Unspecified, background: Color = Color.Unspecified, textStyle: TextStyle = TextStyle.Unspecified, topLeft: IntOffset = IntOffset.Zero, size: IntSize = this.size.offsetSize(topLeft), drawStyle: DrawStyle = DrawStyle.Fill)
abstract fun drawRect(codePoint: Int = UnspecifiedCodePoint, foreground: Color = Color.Unspecified, background: Color = Color.Unspecified, textStyle: TextStyle = TextStyle.Unspecified, topLeft: IntOffset = IntOffset.Zero, size: IntSize = this.size.offsetSize(topLeft), drawStyle: DrawStyle = DrawStyle.Fill)
Draws a rectangle with the given offset and size. If no offset from the top left is provided, it is drawn starting from the origin of the current translation. If no size is provided, the size of the current environment is used.