# Interface: PlayerCanvas
PixellotPlayer.PlayerCanvas
# Table of contents
# Properties
# Accessors
# Methods
# Properties
# canvasEl
• canvasEl: HTMLCanvasElement
# ctx
• ctx: null | CanvasRenderingContext2D
# lastTransform
• lastTransform: Object
# Type declaration
| Name | Type |
|---|---|
k | number |
x | number |
y | number |
# Accessors
# isVisible
• get isVisible(): boolean
# Returns
boolean
# Methods
# drawPlayableVideoArea
▸ drawPlayableVideoArea(event?): void
# Parameters
| Name | Type |
|---|---|
event? | ID3Event |
# Returns
void
# drawVideoSnap
▸ drawVideoSnap(ctx, ...ctxOptions): void
# Parameters
| Name | Type |
|---|---|
ctx | CanvasRenderingContext2D |
...ctxOptions | any |
# Returns
void
# hide
▸ hide(): void
# Returns
void
# show
▸ show(): void
# Returns
void