implicit final class HTMLCanvasElementExtensions extends AnyVal
HTML Canvas Element Extensions
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HTMLCanvasElementExtensions
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
HTMLCanvasElementExtensions(canvas: HTMLCanvasElement)
- canvas
the given canvas
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val canvas: HTMLCanvasElement
-
def
get2DContext(contextAttributes: CanvasAttributeOptions = null): CanvasRenderingContext2D
- Annotations
- @inline()
-
def
getBitmapContext(contextAttributes: CanvasAttributeOptions = null): ImageBitmapRenderingContext
- Annotations
- @inline()
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getWebGL2Context(contextAttributes: CanvasAttributeOptions = null): WebGL2RenderingContext
- Annotations
- @inline()
-
def
getWebGLContext(contextAttributes: CanvasAttributeOptions = null): WebGLRenderingContext
- Annotations
- @inline()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toBlobFuture(mimeType: String = null, qualityArgument: Double = null): Promise[Blob]
- Annotations
- @inline()
-
def
toString(): String
- Definition Classes
- Any