mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 17:07:45 +02:00
* Add width & height to TJSImageBitmap
This commit is contained in:
parent
12a9d92773
commit
a8f6799748
@ -1765,9 +1765,16 @@ type
|
||||
end;
|
||||
|
||||
|
||||
{ TJSImageBitmap }
|
||||
|
||||
TJSImageBitmap = class external name 'ImageBitmap' (TJSObject)
|
||||
private
|
||||
FHeight: cardinal; external name 'height';
|
||||
FWidth: cardinal; external name 'width';
|
||||
public
|
||||
procedure close();
|
||||
property width : cardinal read FWidth;
|
||||
property height : cardinal read FHeight;
|
||||
end;
|
||||
|
||||
TJSOffscreenCanvasRenderingContext2D = class;
|
||||
|
Loading…
Reference in New Issue
Block a user