diff --git a/docs/doc/AllClasses.html b/docs/doc/AllClasses.html index d8d4a99..7c9248d 100644 --- a/docs/doc/AllClasses.html +++ b/docs/doc/AllClasses.html @@ -1634,7 +1634,7 @@
Pixel color defined in linear HSL colorspace.
Pixel color defined in linear HSL colorspace with gamma correction.
Creates a tilable random grayscale image
Creates a tilable random grayscale image.
Creates a tilable random grayscale image
Creates a tilable random grayscale image.
Pixel color defined in linear HSL colorspace.
Pixel color defined in linear HSL colorspace with gamma correction.
constructor Create(ABitmap: TBitmap; AUseTransparent: boolean); overload; virtual; abstract;
This item has no description.
+Create an instance and load an image from a file.
++ + +
Example of loading and displaying an image on a form: + +
+ ++procedure TForm1.FormCreate(Sender: TObject); +begin + image := TBGRABitmap.Create('image.png'); +end; + +procedure TForm1.FormDestroy(Sender: TObject); +begin + image.free; +end; + +procedure TForm1.FormPaint(Sender: TObject); +begin + image.Draw(Canvas, 0, 0, True); // assume image is opaque +end;+ + +
-Spline +Compute an closed spline passing by the given points. ++ + + Example of drawing a spline on a form: + + + + + ++procedure TForm1.FormPaint(Sender: TObject); +var + image: TBGRABitmap; + pts: array of TPointF; + storedSpline: array of TPointF; + c: TBGRAPixel; +begin + image := TBGRABitmap.Create(ClientWidth, ClientHeight, clBtnFace); + c := clWindowText; + + //rectangular polyline + setlength(pts,4); + pts[0] := PointF(50,50); + pts[1] := PointF(150,50); + pts[2] := PointF(150,150); + pts[3] := PointF(50,150); + image.DrawPolylineAntialias(pts,BGRA(255,0,0,150),1); + + //compute spline points and draw as a polyline + storedSpline := image.ComputeClosedSpline(pts,ssVertexToSide); + image.DrawPolylineAntialias(storedSpline,c,1); + + image.Draw(Canvas,0,0,True); + image.free; +end;+ + |
function ComputeOpenedSpline(const APoints: array of TPointF; AStyle: TSplineStyle): ArrayOfTPointF; virtual; abstract; |
|
- This item has no description. |
-Creates a brush texture with a specified style, pattern color, background color, dimensions, and pen width +Creates a brush texture with a specified style, pattern color, background color, dimensions, and pen width. ++ + + Example using a diagonal cross texture to fill shapes on a form: + + + + + ++procedure TForm1.FormPaint(Sender: TObject); +var + image,tex: TBGRABitmap; + c: TBGRAPixel; + x,y,rx,ry: single; + +begin + image := TBGRABitmap.Create(ClientWidth,ClientHeight,ColorToBGRA(ColorToRGB(clBtnFace))); + c := ColorToBGRA(ColorToRGB(clWindowText)); + + //ellipse coordinates + x := 150; + y := 100; + rx := 100; + ry := 50; + + //loads a "diagcross" brush with white pattern and orange background + tex := image.CreateBrushTexture(bsDiagCross,BGRAWhite,BGRA(255,192,0)) as TBGRABitmap; + + image.FillEllipseAntialias(x,y,rx-0.5,ry-0.5,tex); + image.EllipseAntialias(x,y,rx,ry,c,1); //draw outline + + image.RoundRectAntialias(x-rx-10,y-ry-10,x+rx+10,y+ry+10,20,20,c,11); + image.RoundRectAntialias(x-rx-10,y-ry-10,x+rx+10,y+ry+10,20,20,tex,9); + + tex.Free; + + image.Draw(Canvas,0,0,True); + image.free; +end;+ + |
procedure RectangleAntialias(x, y, x2, y2: single; const AColor: TPixel; AWidth: single); overload; virtual; |
|
- This item has no description. |
Packed Record THSLAPixel |
-Pixel color defined in linear HSL colorspace. | +Pixel color defined in linear HSL colorspace with gamma correction. | |
Record THSLAPixelBasicHelper |
diff --git a/docs/doc/BGRACanvas2D.TBGRACanvas2D.html b/docs/doc/BGRACanvas2D.TBGRACanvas2D.html
index f38bedc..d436cca 100644
--- a/docs/doc/BGRACanvas2D.TBGRACanvas2D.html
+++ b/docs/doc/BGRACanvas2D.TBGRACanvas2D.html
@@ -33,7 +33,7 @@ |||
- | function createLinearGradient(x0,y0,x1,y1: single): IBGRACanvasGradient2D; overload; |
+function createLinearGradient(p0,p1: TPointF): IBGRACanvasGradient2D; overload; |
|
- | function createLinearGradient(p0,p1: TPointF): IBGRACanvasGradient2D; overload; |
+function createLinearGradient(x0,y0,x1,y1: single): IBGRACanvasGradient2D; overload; |
|
@@ -200,15 +200,15 @@ | |||
- | function createRadialGradient(x0,y0,r0,x1,y1,r1: single; Colors: TBGRACustomGradient; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
+function createRadialGradient(p0: TPointF; r0: single; p1: TPointF; r1: single; Colors: TBGRACustomGradient; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
|
- | function createRadialGradient(p0: TPointF; r0: single; p1: TPointF; r1: single; Colors: TBGRACustomGradient; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
+function createRadialGradient(x0,y0,r0,x1,y1,r1: single; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
|
- | function createRadialGradient(x0,y0,r0,x1,y1,r1: single; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
+function createRadialGradient(x0,y0,r0,x1,y1,r1: single; Colors: TBGRACustomGradient; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
|
@@ -232,11 +232,11 @@ | |||
- | function isPointInPath(x,y: single): boolean; overload; |
+function isPointInPath(pt: TPointF): boolean; overload; |
|
- | function isPointInPath(pt: TPointF): boolean; overload; |
+function isPointInPath(x,y: single): boolean; overload; |
|
@@ -251,16 +251,8 @@ | function toDataURL(mimeType: string = 'image/png'): string; |
||
- | function QueryInterface(const IID: TGUID; out Obj): HResult; stdcall; |
-||
- | function _AddRef: Integer; stdcall; |
-||
- | function _Release: Integer; stdcall; |
++ | procedure addPath(ASvgPath: string); overload; |
@@ -268,95 +260,95 @@ | |||
- | procedure addPath(ASvgPath: string); overload; |
+procedure arc(x, y, radius, startAngleRadCW, endAngleRadCW: single); overload; |
|
- | procedure arc(x, y, radius, startAngleRadCW, endAngleRadCW: single); overload; |
+procedure arc(x, y, radius, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
|
- | procedure arc(constref arcDef: TArcDef); overload; |
+procedure arc(cx, cy, rx,ry, xAngleRadCW, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
|
- | procedure arc(cx, cy, rx,ry, xAngleRadCW, startAngleRadCW, endAngleRadCW: single); overload; |
+procedure arc(constref arcDef: TArcDef); overload; |
|
- | procedure arc(cx, cy, rx,ry, xAngleRadCW, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
+procedure arc(cx, cy, rx,ry, xAngleRadCW, startAngleRadCW, endAngleRadCW: single); overload; |
|
- | procedure arc(x, y, radius, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
+procedure arcTo(x1, y1, x2, y2, radius: single); overload; |
|
- | procedure arcTo(rx, ry, xAngleRadCW: single; largeArc,anticlockwise: boolean; x, y: single); |
+procedure arcTo(p1,p2: TPointF; radius: single); overload; |
|
- | procedure arcTo(p1,p2: TPointF; radius: single); overload; |
+procedure arcTo(rx, ry, xAngleRadCW: single; largeArc,anticlockwise: boolean; x, y: single); |
|
- | procedure arcTo(x1, y1, x2, y2, radius: single); overload; |
+procedure beginPath; |
|
- | procedure beginPath; |
+procedure bezierCurveTo(cp1x,cp1y,cp2x,cp2y,x,y: single); overload; |
|
- | procedure bezierCurveTo(cp1x,cp1y,cp2x,cp2y,x,y: single); overload; |
+procedure bezierCurveTo(constref cp1,cp2,pt: TPointF); overload; |
|
- | procedure bezierCurveTo(constref cp1,cp2,pt: TPointF); overload; |
+procedure circle(x,y,r: single); |
|
- | procedure circle(x,y,r: single); |
+procedure clearPath; |
|
- | procedure clearPath; |
+procedure clearRect(x,y,w,h: single); |
|
- | procedure clearRect(x,y,w,h: single); |
+procedure clip; |
|
- | procedure clip; |
+procedure closedSpline(const pts: array of TPointF; style: TSplineStyle); |
|
- | procedure closedSpline(const pts: array of TPointF; style: TSplineStyle); |
+procedure closePath; |
|
- | procedure closePath; |
+procedure copyStateFrom(AOtherCanvas2D: TBGRACanvas2D); |
|
- | procedure copyStateFrom(AOtherCanvas2D: TBGRACanvas2D); |
+procedure drawImage(image: TBGRACustomBitmap; dx,dy: single; AFilter: TResampleFilter = rfLinear); overload; |
|
- | procedure drawImage(image: TBGRACustomBitmap; dx,dy: single; AFilter: TResampleFilter = rfLinear); overload; |
+procedure drawImage(image: TBGRACustomBitmap; dx,dy,dw,dh: single; AFilter: TResampleFilter = rfLinear); overload; |
|
- | procedure drawImage(image: TBGRACustomBitmap; dx,dy,dw,dh: single; AFilter: TResampleFilter = rfLinear); overload; |
+procedure ellipse(x,y,rx,ry: single); |
|
- | procedure ellipse(x,y,rx,ry: single); |
+procedure fill; overload; |
|
- | procedure fill; overload; |
+procedure fill(AFillProc: TBGRAPathFillProc; AData: pointer); overload; |
|
@@ -364,39 +356,39 @@ | |||
- | procedure fill(AFillProc: TBGRAPathFillProc; AData: pointer); overload; |
+procedure fillOverStroke; |
|
- | procedure fillOverStroke; |
+procedure fillRect(x,y,w,h: single); |
|
- | procedure fillRect(x,y,w,h: single); |
+procedure fillStyle(color: TBGRAPixel); overload; |
|
- | procedure fillStyle(color: TColor); overload; |
+procedure fillStyle(provider: IBGRACanvasTextureProvider2D); overload; |
|
- | procedure fillStyle(color: TBGRAPixel); overload; |
+procedure fillStyle(color: string); overload; |
|
- | procedure fillStyle(color: string); overload; |
+procedure fillStyle(texture: IBGRAScanner); overload; |
|
- | procedure fillStyle(provider: IBGRACanvasTextureProvider2D); overload; |
+procedure fillStyle(color: TColor); overload; |
|
- | procedure fillStyle(texture: IBGRAScanner); overload; |
+procedure fillText(AText: string; x,y: single); |
|
- | procedure fillText(AText: string; x,y: single); |
+procedure lineStyle(const AValue: array of single); overload; |
|
@@ -404,23 +396,23 @@ | |||
- | procedure lineStyle(const AValue: array of single); overload; |
+procedure lineTo(constref pt: TPointF); overload; |
|
- | procedure lineTo(constref pt: TPointF); overload; |
+procedure lineTo(x,y: single); overload; |
|
- | procedure lineTo(x,y: single); overload; |
+procedure mask(image: TBGRACustomBitmap; dx,dy: single; AFilter: TResampleFilter = rfLinear); overload; |
|
- | procedure mask(image: TBGRACustomBitmap; dx,dy: single; AFilter: TResampleFilter = rfLinear); overload; |
+procedure mask(image: TBGRACustomBitmap; dx,dy,dw,dh: single; AFilter: TResampleFilter = rfLinear); overload; |
|
- | procedure mask(image: TBGRACustomBitmap; dx,dy,dw,dh: single; AFilter: TResampleFilter = rfLinear); overload; |
+procedure moveTo(x,y: single); overload; |
|
@@ -428,47 +420,47 @@ | |||
- | procedure moveTo(x,y: single); overload; |
+procedure openedSpline(const pts: array of TPointF; style: TSplineStyle); |
|
- | procedure openedSpline(const pts: array of TPointF; style: TSplineStyle); |
+procedure path(APath: IBGRAPath); overload; |
|
- | procedure path(APath: IBGRAPath); overload; |
+procedure path(ASvgPath: string); overload; |
|
- | procedure path(ASvgPath: string); overload; |
+procedure polylineTo(const pts: array of TPointF); |
|
- | procedure polylineTo(const pts: array of TPointF); |
+procedure quadraticCurveTo(cpx,cpy,x,y: single); overload; |
|
- | procedure quadraticCurveTo(cpx,cpy,x,y: single); overload; |
+procedure quadraticCurveTo(constref cp,pt: TPointF); overload; |
|
- | procedure quadraticCurveTo(constref cp,pt: TPointF); overload; |
+procedure rect(x,y,w,h: single); |
|
- | procedure rect(x,y,w,h: single); |
+procedure resetTransform; |
|
- | procedure resetTransform; |
+procedure restore; |
|
- | procedure restore; |
+procedure rotate(angleRadCW: single); |
|
- | procedure rotate(angleRadCW: single); |
+procedure roundRect(x,y,w,h,radius: single); overload; |
|
@@ -476,55 +468,55 @@ | |||
- | procedure roundRect(x,y,w,h,radius: single); overload; |
+procedure save; |
|
- | procedure save; |
+procedure scale(x,y: single); overload; |
|
- | procedure scale(x,y: single); overload; |
+procedure scale(factor: single); overload; |
|
- | procedure scale(factor: single); overload; |
+procedure setTransform(m11,m21, m12,m22, m13,m23: single); |
|
- | procedure setTransform(m11,m21, m12,m22, m13,m23: single); |
+procedure shadowColor(color: TBGRAPixel); overload; |
|
- | procedure shadowColor(color: TBGRAPixel); overload; |
+procedure shadowColor(color: string); overload; |
|
- | procedure shadowColor(color: string); overload; |
+procedure shadowColor(color: TColor); overload; |
|
- | procedure shadowColor(color: TColor); overload; |
+procedure shadowNone; |
|
- | procedure shadowNone; |
+procedure skewx(angleRadCW: single); |
|
- | procedure skewx(angleRadCW: single); |
+procedure skewy(angleRadCW: single); |
|
- | procedure skewy(angleRadCW: single); |
+procedure spline(const pts: array of TPointF; style: TSplineStyle= ssOutside); |
|
- | procedure spline(const pts: array of TPointF; style: TSplineStyle= ssOutside); |
+procedure splineTo(const pts: array of TPointF; style: TSplineStyle= ssOutside); |
|
- | procedure splineTo(const pts: array of TPointF; style: TSplineStyle= ssOutside); |
+procedure stroke(ADrawProc: TBGRAPathDrawProc; AData: pointer); overload; |
|
@@ -536,35 +528,35 @@ | |||
- | procedure stroke(ADrawProc: TBGRAPathDrawProc; AData: pointer); overload; |
+procedure strokeOverFill; |
|
- | procedure strokeOverFill; |
+procedure strokeRect(x,y,w,h: single); |
|
- | procedure strokeRect(x,y,w,h: single); |
+procedure strokeResetTransform; |
|
- | procedure strokeResetTransform; |
+procedure strokeScale(x,y: single); |
|
- | procedure strokeScale(x,y: single); |
+procedure strokeSkewx(angleRadCW: single); |
|
- | procedure strokeSkewx(angleRadCW: single); |
+procedure strokeSkewy(angleRadCW: single); |
|
- | procedure strokeSkewy(angleRadCW: single); |
+procedure strokeStyle(color: TBGRAPixel); overload; |
|
- | procedure strokeStyle(color: string); overload; |
+procedure strokeStyle(provider: IBGRACanvasTextureProvider2D); overload; |
|
@@ -572,41 +564,37 @@ | |||
- | procedure strokeStyle(provider: IBGRACanvasTextureProvider2D); overload; |
+procedure strokeStyle(texture: IBGRAScanner); overload; |
|
- | procedure strokeStyle(texture: IBGRAScanner); overload; |
+procedure strokeStyle(color: string); overload; |
|
- | procedure strokeStyle(color: TBGRAPixel); overload; |
-||
procedure strokeText(AText: string; x,y: single); |
|||
procedure text(AText: string; x,y: single); |
|||
procedure toSpline(closed: boolean; style: TSplineStyle= ssOutside); |
|||
procedure transform(AMatrix: TAffineMatrix); overload; |
|||
procedure transform(m11,m21, m12,m22, m13,m23: single); overload; |
|||
procedure translate(x,y: single); |
|||
procedure unclip; |
|||
+Whether to apply antialiasing when drawing
|
+Whether to use gamma correction in gradient interpolation.
+ + + + It is less accurate but it reflects more how HTML Canvas works. |
+Whether to use linear blending when merging colors.
+ + + + In this case, gamma correction won't be applied. It is less accurate but it reflects more how HTML Canvas works. |
constructor Create(ASurface: TBGRACustomBitmap);
This item has no description.
+Create
an new instance with its own context.
destructor Destroy; override; |
|
- This item has no description. |
function createLinearGradient(x0,y0,x1,y1: single; Colors: TBGRACustomGradient): IBGRACanvasGradient2D; overload; |
|
- This item has no description. |
function createLinearGradient(p0,p1: TPointF; Colors: TBGRACustomGradient): IBGRACanvasGradient2D; overload; |
|
- This item has no description. |
- | function createLinearGradient(x0,y0,x1,y1: single): IBGRACanvasGradient2D; overload; |
+function createLinearGradient(p0,p1: TPointF): IBGRACanvasGradient2D; overload; |
- This item has no description. |
- | function createLinearGradient(p0,p1: TPointF): IBGRACanvasGradient2D; overload; |
+function createLinearGradient(x0,y0,x1,y1: single): IBGRACanvasGradient2D; overload; |
- This item has no description. |
function createPattern(texture: IBGRAScanner): IBGRACanvasTextureProvider2D; overload; |
|
- This item has no description. |
function createPattern(image: TBGRACustomBitmap; repetition: string): IBGRACanvasTextureProvider2D; overload; |
|
- This item has no description. |
- | function createRadialGradient(x0,y0,r0,x1,y1,r1: single; Colors: TBGRACustomGradient; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
+function createRadialGradient(p0: TPointF; r0: single; p1: TPointF; r1: single; Colors: TBGRACustomGradient; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
- This item has no description. |
- | function createRadialGradient(p0: TPointF; r0: single; p1: TPointF; r1: single; Colors: TBGRACustomGradient; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
+function createRadialGradient(x0,y0,r0,x1,y1,r1: single; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
- This item has no description. |
- | function createRadialGradient(x0,y0,r0,x1,y1,r1: single; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
+function createRadialGradient(x0,y0,r0,x1,y1,r1: single; Colors: TBGRACustomGradient; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
- This item has no description. |
function createRadialGradient(p0: TPointF; r0: single; p1: TPointF; r1: single; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
|
- This item has no description. |
class function CSSFontNameToLCL(AName: string): string; |
|
- This item has no description. |
class function FontNameListToStr(AList: ArrayOfString): string; |
|
- This item has no description. |
function getLineStyle: TBGRAPenStyle; |
|
- This item has no description. |
function getShadowColor: TBGRAPixel; |
|
- This item has no description. |
- | function isPointInPath(x,y: single): boolean; overload; |
+function isPointInPath(pt: TPointF): boolean; overload; |
- This item has no description. |
- | function isPointInPath(pt: TPointF): boolean; overload; |
+function isPointInPath(x,y: single): boolean; overload; |
- This item has no description. |
function measureText(AText: string): TCanvas2dTextSize; |
|
- This item has no description. |
class function StrToFontNameList(AText: string): ArrayOfString; |
|
- This item has no description. |
function toDataURL(mimeType: string = 'image/png'): string; |
|
- This item has no description. |
- | function QueryInterface(const IID: TGUID; out Obj): HResult; stdcall; |
-
- This item has no description. |
- | function _AddRef: Integer; stdcall; |
-
- This item has no description. |
- | function _Release: Integer; stdcall; |
-
- This item has no description. |
- | procedure addPath(APath: IBGRAPath); overload; |
+procedure addPath(ASvgPath: string); overload; |
- This item has no description. |
- | procedure addPath(ASvgPath: string); overload; |
+procedure addPath(APath: IBGRAPath); overload; |
- This item has no description. |
procedure arc(x, y, radius, startAngleRadCW, endAngleRadCW: single); overload; |
|
- This item has no description. |
- | procedure arc(constref arcDef: TArcDef); overload; |
+procedure arc(x, y, radius, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
- This item has no description. |
- | procedure arc(cx, cy, rx,ry, xAngleRadCW, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
+procedure arc(constref arcDef: TArcDef); overload; |
- This item has no description. |
- | procedure arc(x, y, radius, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
+procedure arc(cx, cy, rx,ry, xAngleRadCW, startAngleRadCW, endAngleRadCW: single); overload; |
- This item has no description. |
- | procedure arcTo(rx, ry, xAngleRadCW: single; largeArc,anticlockwise: boolean; x, y: single); |
+procedure arcTo(x1, y1, x2, y2, radius: single); overload; |
- This item has no description. |
procedure arcTo(p1,p2: TPointF; radius: single); overload; |
|
- This item has no description. |
- | procedure arcTo(x1, y1, x2, y2, radius: single); overload; |
+procedure arcTo(rx, ry, xAngleRadCW: single; largeArc,anticlockwise: boolean; x, y: single); |
- This item has no description. |
procedure beginPath; |
|
- This item has no description. |
procedure bezierCurveTo(cp1x,cp1y,cp2x,cp2y,x,y: single); overload; |
|
- This item has no description. |
procedure bezierCurveTo(constref cp1,cp2,pt: TPointF); overload; |
|
- This item has no description. |
procedure circle(x,y,r: single); |
|
- This item has no description. |
procedure clearPath; |
|
- This item has no description. |
procedure clearRect(x,y,w,h: single); |
|
- This item has no description. |
procedure clip; |
|
- This item has no description. |
procedure closedSpline(const pts: array of TPointF; style: TSplineStyle); |
|
- This item has no description. |
procedure closePath; |
|
- This item has no description. |
procedure copyStateFrom(AOtherCanvas2D: TBGRACanvas2D); |
|
- This item has no description. |
procedure drawImage(image: TBGRACustomBitmap; dx,dy: single; AFilter: TResampleFilter = rfLinear); overload; |
|
- This item has no description. |
procedure drawImage(image: TBGRACustomBitmap; dx,dy,dw,dh: single; AFilter: TResampleFilter = rfLinear); overload; |
|
- This item has no description. |
procedure ellipse(x,y,rx,ry: single); |
|
- This item has no description. |
procedure fill; overload; |
|
- This item has no description. |
- | procedure fill(AFillProc: TBGRAPathFillProc; const AMatrix: TAffineMatrix; AData: pointer); overload; |
+procedure fill(AFillProc: TBGRAPathFillProc; AData: pointer); overload; |
- This item has no description. |
- | procedure fill(AFillProc: TBGRAPathFillProc; AData: pointer); overload; |
+procedure fill(AFillProc: TBGRAPathFillProc; const AMatrix: TAffineMatrix; AData: pointer); overload; |
- This item has no description. |
-may not render curve nicely +Fill and stroke at the same time, with filling being on top |
procedure fillRect(x,y,w,h: single); |
|
- This item has no description. |
- | procedure fillStyle(color: TColor); overload; |
+procedure fillStyle(color: TBGRAPixel); overload; |
- This item has no description. |
- | procedure fillStyle(color: TBGRAPixel); overload; |
+procedure fillStyle(provider: IBGRACanvasTextureProvider2D); overload; |
- This item has no description. |
procedure fillStyle(color: string); overload; |
|
- This item has no description. |
- | procedure fillStyle(provider: IBGRACanvasTextureProvider2D); overload; |
+procedure fillStyle(texture: IBGRAScanner); overload; |
- This item has no description. |
- | procedure fillStyle(texture: IBGRAScanner); overload; |
+procedure fillStyle(color: TColor); overload; |
- This item has no description. |
procedure fillText(AText: string; x,y: single); |
|
- This item has no description. |
- | procedure lineStyle(AStyle: TPenStyle); overload; |
+procedure lineStyle(const AValue: array of single); overload; |
- This item has no description. |
- | procedure lineStyle(const AValue: array of single); overload; |
+procedure lineStyle(AStyle: TPenStyle); overload; |
- This item has no description. |
procedure lineTo(constref pt: TPointF); overload; |
|
- This item has no description. |
procedure lineTo(x,y: single); overload; |
|
- This item has no description. |
procedure mask(image: TBGRACustomBitmap; dx,dy: single; AFilter: TResampleFilter = rfLinear); overload; |
|
- This item has no description. |
procedure mask(image: TBGRACustomBitmap; dx,dy,dw,dh: single; AFilter: TResampleFilter = rfLinear); overload; |
|
- This item has no description. |
- | procedure moveTo(constref pt: TPointF); overload; |
+procedure moveTo(x,y: single); overload; |
- This item has no description. |
- | procedure moveTo(x,y: single); overload; |
+procedure moveTo(constref pt: TPointF); overload; |
- This item has no description. |
procedure openedSpline(const pts: array of TPointF; style: TSplineStyle); |
|
- This item has no description. |
procedure path(APath: IBGRAPath); overload; |
|
- This item has no description. |
procedure path(ASvgPath: string); overload; |
|
- This item has no description. |
procedure polylineTo(const pts: array of TPointF); |
|
- This item has no description. |
procedure quadraticCurveTo(cpx,cpy,x,y: single); overload; |
|
- This item has no description. |
procedure quadraticCurveTo(constref cp,pt: TPointF); overload; |
|
- This item has no description. |
procedure rect(x,y,w,h: single); |
|
- This item has no description. |
procedure resetTransform; |
|
- This item has no description. |
procedure restore; |
|
- This item has no description. |
procedure rotate(angleRadCW: single); |
|
- This item has no description. |
- | procedure roundRect(x,y,w,h,rx,ry: single); overload; |
+procedure roundRect(x,y,w,h,radius: single); overload; |
- This item has no description. |
procedure save; |
|
- This item has no description. |
procedure scale(x,y: single); overload; |
|
- This item has no description. |
procedure scale(factor: single); overload; |
|
- This item has no description. |
procedure setTransform(m11,m21, m12,m22, m13,m23: single); |
|
- This item has no description. |
procedure shadowColor(color: TBGRAPixel); overload; |
|
- This item has no description. |
procedure shadowColor(color: string); overload; |
|
- This item has no description. |
procedure shadowColor(color: TColor); overload; |
|
- This item has no description. |
procedure shadowNone; |
|
- This item has no description. |
procedure skewx(angleRadCW: single); |
|
- This item has no description. |
procedure skewy(angleRadCW: single); |
|
- This item has no description. |
procedure spline(const pts: array of TPointF; style: TSplineStyle= ssOutside); |
|
- This item has no description. |
procedure splineTo(const pts: array of TPointF; style: TSplineStyle= ssOutside); |
|
- This item has no description. |
- | procedure stroke(ADrawProc: TBGRAPathDrawProc; const AMatrix: TAffineMatrix; AData: pointer); overload; |
+procedure stroke(ADrawProc: TBGRAPathDrawProc; AData: pointer); overload; |
- This item has no description. |
- | procedure stroke; overload; |
+procedure stroke(ADrawProc: TBGRAPathDrawProc; const AMatrix: TAffineMatrix; AData: pointer); overload; |
-may not render curve nicely +Strokes the current path using the specified function and transformation matrix. |
- | procedure stroke(ADrawProc: TBGRAPathDrawProc; AData: pointer); overload; |
+procedure stroke; overload; |
- This item has no description. |
procedure strokeOverFill; |
|
- This item has no description. |
procedure strokeRect(x,y,w,h: single); |
|
- This item has no description. |
procedure strokeResetTransform; |
|
- This item has no description. |
procedure strokeScale(x,y: single); |
|
- This item has no description. |
procedure strokeSkewx(angleRadCW: single); |
|
- This item has no description. |
procedure strokeSkewy(angleRadCW: single); |
|
- This item has no description. |
- | procedure strokeStyle(color: string); overload; |
+procedure strokeStyle(color: TBGRAPixel); overload; |
- This item has no description. |
- | procedure strokeStyle(color: TColor); overload; |
+procedure strokeStyle(provider: IBGRACanvasTextureProvider2D); overload; |
- This item has no description. |
- | procedure strokeStyle(provider: IBGRACanvasTextureProvider2D); overload; |
+procedure strokeStyle(color: TColor); overload; |
- This item has no description. |
procedure strokeStyle(texture: IBGRAScanner); overload; |
|
- This item has no description. |
- | procedure strokeStyle(color: TBGRAPixel); overload; |
+procedure strokeStyle(color: string); overload; |
- This item has no description. |
procedure strokeText(AText: string; x,y: single); |
|
- This item has no description. |
procedure text(AText: string; x,y: single); |
|
- This item has no description. |
procedure toSpline(closed: boolean; style: TSplineStyle= ssOutside); |
|
- This item has no description. |
procedure transform(AMatrix: TAffineMatrix); overload; |
|
- This item has no description. |
procedure transform(m11,m21, m12,m22, m13,m23: single); overload; |
|
- This item has no description. |
procedure translate(x,y: single); |
|
- This item has no description. |
procedure unclip; |
|
- This item has no description. |
property currentPath: ArrayOfTPointF read GetCurrentPathAsPoints; |
|
- This item has no description. |
property direction: TFontBidiMode read GetTextDirection write SetTextDirection; |
|
- This item has no description. |
property fillMode: TFillMode read GetFillMode write SetFillMode; |
|
- This item has no description. |
property font: string read GetFontString write SetFontString; |
|
- This item has no description. |
property fontEmHeight: single read GetFontEmHeight write SetFontEmHeight; |
|
- This item has no description. |
property fontName: string read GetFontName write SetFontName; |
|
- This item has no description. |
property fontRenderer: TBGRACustomFontRenderer read GetFontRenderer write SetFontRenderer; |
|
- This item has no description. |
property fontStyle: TFontStyles read GetFontStyle write SetFontStyle; |
|
- This item has no description. |
property globalAlpha: single read GetGlobalAlpha write SetGlobalAlpha; |
|
- This item has no description. |
property hasShadow: boolean read GetHasShadow; |
|
- This item has no description. |
property height: Integer read GetHeight; |
|
- This item has no description. |
property lineCap: string read GetLineCap write SetLineCap; |
|
- This item has no description. |
property lineCapLCL: TPenEndCap read GetLineCapLCL write SetLineCapLCL; |
|
- This item has no description. |
property lineJoin: string read GetlineJoin write SetLineJoin; |
|
- This item has no description. |
property lineJoinLCL: TPenJoinStyle read GetlineJoinLCL write SetLineJoinLCL; |
|
- This item has no description. |
property lineWidth: single read GetLineWidth write SetLineWidth; |
|
- This item has no description. |
property matrix: TAffineMatrix read GetMatrix write SetMatrix; |
|
- This item has no description. |
property miterLimit: single read GetMiterLimit write SetMiterLimit; |
|
- This item has no description. |
property pixelCenteredCoordinates: boolean read GetPixelCenteredCoordinates write SetPixelCenteredCoordinates; |
|
- This item has no description. |
property shadowBlur: single read GetShadowBlur write SetShadowBlur; |
|
- This item has no description. |
property shadowFastest: boolean read GetShadowFastest write SetShadowFastest; |
|
- This item has no description. |
property shadowOffset: TPointF read GetShadowOffset write SetShadowOffset; |
|
- This item has no description. |
property shadowOffsetX: single read GetShadowOffsetX write SetShadowOffsetX; |
|
- This item has no description. |
property shadowOffsetY: single read GetShadowOffsetY write SetShadowOffsetY; |
|
- This item has no description. |
property strokeMatrix: TAffineMatrix read GetStrokeMatrix write SetStrokeMatrix; |
|
- This item has no description. |
property surface: TBGRACustomBitmap read FSurface; |
|
- This item has no description. |
property textAlign: string read GetTextAlign write SetTextAlign; |
|
- This item has no description. |
property textAlignLCL: TAlignment read GetTextAlignLCL write SetTextAlignLCL; |
|
- This item has no description. |
property textBaseline: string read GetTextBaseline write SetTextBaseline; |
|
- This item has no description. |
property width: Integer read GetWidth; |
|
- This item has no description. |