Page MenuHomeWickedGov Phorge

HTMLCanvasElement.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

HTMLCanvasElement.php

<?php
// AUTOMATICALLY GENERATED. DO NOT EDIT.
// Use `composer build` to regenerate.
namespace Wikimedia\IDLeDOM\Stub;
use Exception;
trait HTMLCanvasElement {
// Underscore is used to avoid conflicts with DOM-reserved names
// phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
// phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
/**
* @return Exception
*/
abstract protected function _unimplemented(): Exception;
// phpcs:enable
/**
* @return int
*/
public function getWidth(): int {
throw self::_unimplemented();
}
/**
* @param int $val
*/
public function setWidth( int $val ): void {
throw self::_unimplemented();
}
/**
* @return int
*/
public function getHeight(): int {
throw self::_unimplemented();
}
/**
* @param int $val
*/
public function setHeight( int $val ): void {
throw self::_unimplemented();
}
/**
* @param ?string $type
* @param mixed|null $quality
* @return string
*/
public function toDataURL( ?string $type = null, /* any */ $quality = null ): string {
throw self::_unimplemented();
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 13:59 (18 h, 57 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
3f/00/3f43fe782e0270f9e5ae8affedba
Default Alt Text
HTMLCanvasElement.php (1 KB)

Event Timeline