Search
Preparing search index...
The search index is not available
obniz
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Parts
SharpMemoryTFT
SharpMemoryTFT
Class SharpMemoryTFT
Hierarchy
SharpMemoryTFT
Implements
ObnizPartsInterface
Index
Constructors
constructor
Properties
_canvas
auto
Flush
create
Canvas
font
Size
height
io_
cs
io_
disp
io_
extcomin
io_
extmode
keys
obniz
params
required
Keys
spi
width
Methods
_ctx
_prepared
Canvas
_reset
_reverse
Bits
circle
clear
draw
drawing
font
line
pos
print
raw
rect
send
Clear
sendLSB
warn
Canvas
Availability
wired
info
Object literals
_pos
commands
Constructors
constructor
new
Sharp
MemoryTFT
(
)
:
SharpMemoryTFT
Returns
SharpMemoryTFT
Properties
_canvas
_canvas
:
any
auto
Flush
auto
Flush
:
boolean
= false
create
Canvas
create
Canvas
:
any
font
Size
font
Size
:
number
= 0
height
height
:
number
= 0
io_
cs
io_
cs
:
PeripheralIO
Optional
io_
disp
io_
disp
:
PeripheralIO
Optional
io_
extcomin
io_
extcomin
:
PeripheralIO
Optional
io_
extmode
io_
extmode
:
PeripheralIO
keys
keys
:
string
[]
obniz
obniz
:
Obniz
params
params
:
any
required
Keys
required
Keys
:
string
[]
spi
spi
:
PeripheralSPI
width
width
:
number
= 0
Methods
_ctx
_ctx
(
)
:
CanvasRenderingContext2D
Returns
CanvasRenderingContext2D
_prepared
Canvas
_prepared
Canvas
(
)
:
any
Returns
any
_reset
_reset
(
)
:
void
Returns
void
_reverse
Bits
_reverse
Bits
(
data
:
number
)
:
number
Parameters
data:
number
Returns
number
circle
circle
(
x
:
number
, y
:
number
, r
:
number
, mustFill
:
boolean
)
:
void
Parameters
x:
number
y:
number
r:
number
mustFill:
boolean
Returns
void
clear
clear
(
)
:
void
Returns
void
draw
draw
(
ctx
:
CanvasRenderingContext2D
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
Returns
void
drawing
drawing
(
autoFlush
:
boolean
)
:
void
Parameters
autoFlush:
boolean
Returns
void
font
font
(
font
:
string
, size
:
number
)
:
void
Parameters
font:
string
size:
number
Returns
void
line
line
(
x_0
:
number
, y_0
:
number
, x_1
:
number
, y_1
:
number
)
:
void
Parameters
x_0:
number
y_0:
number
x_1:
number
y_1:
number
Returns
void
pos
pos
(
x
:
number
, y
:
number
)
:
{
x
:
number
;
y
:
number
}
Parameters
x:
number
y:
number
Returns
{
x
:
number
;
y
:
number
}
x
:
number
y
:
number
print
print
(
text
:
string
)
:
void
Parameters
text:
string
Returns
void
raw
raw
(
rawData
:
number
[]
)
:
void
Parameters
rawData:
number
[]
Returns
void
rect
rect
(
x
:
number
, y
:
number
, width
:
number
, height
:
number
, mustFill
:
boolean
)
:
void
Parameters
x:
number
y:
number
width:
number
height:
number
mustFill:
boolean
Returns
void
send
Clear
send
Clear
(
)
:
void
Returns
void
sendLSB
sendLSB
(
data
:
number
)
:
void
Parameters
data:
number
Returns
void
warn
Canvas
Availability
warn
Canvas
Availability
(
)
:
void
Returns
void
wired
wired
(
obniz
:
Obniz
)
:
void
Parameters
obniz:
Obniz
Returns
void
Static
info
info
(
)
:
ObnizPartsInfo
Returns
ObnizPartsInfo
Object literals
_pos
_pos
:
object
x
x
:
number
= 0
y
y
:
number
= 0
commands
commands
:
object
clear
clear
:
number
= 32
vcom
vcom
:
number
= 64
write
write
:
number
= 128
Globals
Sharp
MemoryTFT
constructor
_canvas
auto
Flush
create
Canvas
font
Size
height
io_
cs
io_
disp
io_
extcomin
io_
extmode
keys
obniz
params
required
Keys
spi
width
_ctx
_prepared
Canvas
_reset
_reverse
Bits
circle
clear
draw
drawing
font
line
pos
print
raw
rect
send
Clear
sendLSB
warn
Canvas
Availability
wired
info
_pos
commands
Sharp
MemoryTFTOptions
Generated using
TypeDoc