Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:html
  3. CanvasImageSource class
CanvasImageSource
description

CanvasImageSource classabstract

An object that can be drawn to a 2D canvas rendering context.

The image drawn to the canvas depends on the type of this object:

  • If this object is anImageElement, then this element's image isdrawn to the canvas. If this element is an animated image, then thiselement's poster frame is drawn. If this element has no poster frame, thenthe first frame of animation is drawn.

  • If this object is aVideoElement, then the frame at this element's currentplayback position is drawn to the canvas.

  • If this object is aCanvasElement, then this element's bitmap is drawn tothe canvas.

Note: Currently all versions of Internet Explorer do not supportdrawing a video element to a canvas. You may also encounter problems drawinga video to a canvas in Firefox if the source of the video is a data URL.

See also

Other resources

Implementers

Constructors

CanvasImageSource()

Properties

hashCodeint
The hash code for this object.
no setterinherited
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString()String
A string representation of this object.
inherited

Operators

operator ==(Objectother)bool
The equality operator.
inherited
  1. Dart
  2. dart:html
  3. CanvasImageSource class
dart:html library

[8]ページ先頭

©2009-2025 Movatter.jp