moby
class Surface
since 0.1.0-alpha.1linux
Constructors
new
new(int w, int h)Fields
cells_
Block cells_clips_
height
int heightwidth
int widthMethods
blankDirect
blankDirect(int x, int y) -> voidbyteColor
byteColor(int b) -> ColorcellOffset
cellOffset(int x, int y) -> intcells
cells() -> Blockclear
clear(Style s) -> voidcolorByte
colorByte(Color c) -> intcontinuationAt
continuationAt(int x, int y) -> boolfill
healAt
healAt(int x, int y) -> voidinBounds
inBounds(int x, int y) -> boolpopClip
popClip() -> voidpushClip
pushClip(Rect r) -> voidput
put(int x, int y, char c, Style s) -> voidresize
resize(int w, int h) -> voidstyleAt
styleAt(int x, int y) -> StylevisibleCell
visibleCell(int x, int y) -> boolwriteCellDirect
writeCellDirect(int x, int y, char c, Style s, int flags) -> voidwriteText
writeText(int x, int y, string text, Style s) -> void