mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 13:37:47 +02:00
* CanvasGradient.AddColorStyp, canvasrenderingcontext.RoundRect
This commit is contained in:
parent
1e06d5e814
commit
462adf9277
@ -2515,6 +2515,7 @@ Type
|
||||
|
||||
// Opaque objects
|
||||
TJSCanvasGradient = class external name 'CanvasGradient' (TJSObject)
|
||||
procedure addColorStop(offset : double; aColor : string);
|
||||
end;
|
||||
|
||||
TJSCanvasPattern = class external name 'CanvasPattern' (TJSObject)
|
||||
@ -2644,6 +2645,7 @@ Type
|
||||
procedure rect(x,y,awidth,aheight: TCanvasCoordType); overload;
|
||||
procedure restore;
|
||||
procedure rotate(anAngle : double);
|
||||
procedure roundRect(x,y,width,height : double; Radii : TJSArray);
|
||||
procedure save;
|
||||
procedure scale(x,y : double);
|
||||
procedure setLineDash(segments : TJSArray); overload;
|
||||
|
Loading…
Reference in New Issue
Block a user