Class TBGRACanvas2D
Unit
Declaration
type TBGRACanvas2D = class(IBGRAPath)
Description
Implementation of Canvas2d similar to HTML.
Comparison between TBGRACanvas2D
and Javascript HTML canvas:
JavaScript |
|
---|---|
uses BGRABitmap, BGRABitmapTypes, BGRACanvas2D; procedure TForm1.FormPaint(Sender: TObject); var bmp: TBGRABitmap; ctx: TBGRACanvas2D; gradient: IBGRACanvasGradient2D; begin bmp := TBGRABitmap.Create(ClientWidth, ClientHeight, StrToBGRA('#E0E2E5')); ctx := bmp.Canvas2d; // Draw the outer rounded rectangle gradient := ctx.createLinearGradient(100, 20, 100, 180); gradient.addColorStop(0, 'white'); gradient.addColorStop(1, '#7C878A'); ctx.fillStyle(gradient); ctx.beginPath(); ctx.roundRect(20, 20, 160, 160, 20); ctx.save(); ctx.shadowBlur := 10; ctx.shadowColor('rgba(0,0,0, .8)'); ctx.shadowOffsetX := 0; ctx.shadowOffsetY := 10; ctx.fill(); ctx.restore(); // Draw the blue circle with gradient gradient := ctx.createLinearGradient(100, 30, 100, 170); gradient.addColorStop(0, '#CAEBF5'); gradient.addColorStop(1, '#0F5369'); ctx.strokeStyle(gradient); ctx.beginPath(); ctx.arc(100, 100, 70, 0, Pi * 2); ctx.lineWidth := 10; ctx.stroke(); gradient := ctx.createLinearGradient(100, 50, 100, 150); gradient.addColorStop(0, '#003C50'); gradient.addColorStop(1, '#53E6FF'); ctx.strokeStyle(gradient); ctx.beginPath(); ctx.arc(100, 100, 60, 0, Pi * 2); ctx.lineWidth := 10; ctx.stroke(); bmp.Draw(Canvas, 0,0, true); bmp.Free; end; |
Try on JSFiddle var my_canvas = document.getElementById('canvas'), ctx = my_canvas.getContext("2d"); ctx.fillStyle = "#E0E2E5"; ctx.fillRect(0, 0, 200, 200); // Draw the outer rounded rectangle var gradient = ctx.createLinearGradient(100, 20, 100, 180); gradient.addColorStop(0, "white"); gradient.addColorStop(1, "#7C878A"); ctx.fillStyle = gradient; ctx.beginPath(); ctx.roundRect(20, 20, 160, 160, 20); ctx.save(); ctx.shadowBlur = 10; ctx.shadowColor = "rgba(0,0,0, .6)"; ctx.shadowOffsetX = 0; ctx.shadowOffsetY = 10; ctx.fill(); ctx.restore(); // Draw the blue circle with gradient gradient = ctx.createLinearGradient(100, 30, 100, 170); gradient.addColorStop(0, "#CAEBF5"); gradient.addColorStop(1, "#0F5369"); ctx.strokeStyle = gradient; ctx.beginPath(); ctx.arc(100, 100, 70, 0, Math.PI * 2); ctx.lineWidth = 10; ctx.stroke(); gradient = ctx.createLinearGradient(100, 50, 100, 150); gradient.addColorStop(0, "#003C50"); gradient.addColorStop(1, "#53E6FF"); ctx.strokeStyle = gradient; ctx.beginPath(); ctx.arc(100, 100, 60, 0, Math.PI * 2); ctx.lineWidth = 10; ctx.stroke(); |
Hierarchy
- IInterface
- IBGRAPath
- TBGRACanvas2D
Overview
Fields
antialiasing: boolean; |
|
gradientGammaCorrection: boolean; |
|
linearBlend: boolean; |
Methods
constructor Create(ASurface: TBGRACustomBitmap); |
|
destructor Destroy; override; |
|
function createLinearGradient(p0,p1: TPointF): IBGRACanvasGradient2D; overload; |
|
function createLinearGradient(x0,y0,x1,y1: single): IBGRACanvasGradient2D; overload; |
|
function createLinearGradient(p0,p1: TPointF; Colors: TBGRACustomGradient): IBGRACanvasGradient2D; overload; |
|
function createLinearGradient(x0,y0,x1,y1: single; Colors: TBGRACustomGradient): IBGRACanvasGradient2D; overload; |
|
function createPattern(image: TBGRACustomBitmap; repetition: string): IBGRACanvasTextureProvider2D; overload; |
|
function createPattern(texture: IBGRAScanner): IBGRACanvasTextureProvider2D; overload; |
|
function createRadialGradient(x0,y0,r0,x1,y1,r1: single; 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; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
|
function createRadialGradient(x0,y0,r0,x1,y1,r1: single; Colors: TBGRACustomGradient; flipGradient: boolean=false): IBGRACanvasGradient2D; overload; |
|
class function CSSFontNameToLCL(AName: string): string; |
|
class function FontNameListToStr(AList: ArrayOfString): string; |
|
function getLineStyle: TBGRAPenStyle; |
|
function getShadowColor: TBGRAPixel; |
|
function isPointInPath(pt: TPointF): boolean; overload; |
|
function isPointInPath(x,y: single): boolean; overload; |
|
function measureText(AText: string): TCanvas2dTextSize; |
|
class function StrToFontNameList(AText: string): ArrayOfString; |
|
function toDataURL(mimeType: string = 'image/png'): string; |
|
function QueryInterface(const IID: TGUID; out Obj): HResult; cdecl; |
|
function _AddRef: Integer; cdecl; |
|
function _Release: Integer; cdecl; |
|
procedure addPath(ASvgPath: string); overload; |
|
procedure addPath(APath: IBGRAPath); 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(x, y, radius, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
|
procedure arc(x, y, radius, startAngleRadCW, endAngleRadCW: single); overload; |
|
procedure arcTo(p1,p2: TPointF; radius: single); overload; |
|
procedure arcTo(x1, y1, x2, y2, radius: single); overload; |
|
procedure arcTo(rx, ry, xAngleRadCW: single; largeArc,anticlockwise: boolean; x, y: single); |
|
procedure beginPath; |
|
procedure bezierCurveTo(cp1x,cp1y,cp2x,cp2y,x,y: single); overload; |
|
procedure bezierCurveTo(constref cp1,cp2,pt: TPointF); overload; |
|
procedure circle(x,y,r: single); |
|
procedure clearPath; |
|
procedure clearRect(x,y,w,h: single); |
|
procedure clip; |
|
procedure closedSpline(const pts: array of TPointF; style: TSplineStyle); |
|
procedure closePath; |
|
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 ellipse(x,y,rx,ry: single); |
|
procedure fill(AFillProc: TBGRAPathFillProc; AData: pointer); overload; |
|
procedure fill; overload; |
|
procedure fill(AFillProc: TBGRAPathFillProc; const AMatrix: TAffineMatrix; AData: pointer); overload; |
|
procedure fillOverStroke; |
|
procedure fillRect(x,y,w,h: single); |
|
procedure fillStyle(provider: IBGRACanvasTextureProvider2D); overload; |
|
procedure fillStyle(color: TColor); overload; |
|
procedure fillStyle(color: TBGRAPixel); overload; |
|
procedure fillStyle(color: string); overload; |
|
procedure fillStyle(texture: IBGRAScanner); overload; |
|
procedure fillText(AText: string; x,y: single); |
|
procedure lineStyle(const AValue: array of single); overload; |
|
procedure lineStyle(AStyle: TPenStyle); overload; |
|
procedure lineTo(x,y: single); overload; |
|
procedure lineTo(constref pt: TPointF); overload; |
|
procedure moveTo(constref pt: TPointF); overload; |
|
procedure moveTo(x,y: single); overload; |
|
procedure openedSpline(const pts: array of TPointF; style: TSplineStyle); |
|
procedure path(APath: IBGRAPath); overload; |
|
procedure path(ASvgPath: string); overload; |
|
procedure polylineTo(const pts: array of TPointF); |
|
procedure quadraticCurveTo(constref cp,pt: TPointF); overload; |
|
procedure quadraticCurveTo(cpx,cpy,x,y: single); overload; |
|
procedure rect(x,y,w,h: single); |
|
procedure resetTransform; |
|
procedure restore; |
|
procedure rotate(angleRadCW: single); |
|
procedure roundRect(x,y,w,h,rx,ry: single); overload; |
|
procedure roundRect(x,y,w,h,radius: single); overload; |
|
procedure save; |
|
procedure scale(factor: single); overload; |
|
procedure scale(x,y: single); overload; |
|
procedure setTransform(m11,m21, m12,m22, m13,m23: single); |
|
procedure shadowColor(color: TColor); overload; |
|
procedure shadowColor(color: TBGRAPixel); overload; |
|
procedure shadowColor(color: string); overload; |
|
procedure shadowNone; |
|
procedure skewx(angleRadCW: single); |
|
procedure skewy(angleRadCW: single); |
|
procedure spline(const pts: array of TPointF; style: TSplineStyle= ssOutside); |
|
procedure splineTo(const pts: array of TPointF; style: TSplineStyle= ssOutside); |
|
procedure stroke(ADrawProc: TBGRAPathDrawProc; const AMatrix: TAffineMatrix; AData: pointer); overload; |
|
procedure stroke(ADrawProc: TBGRAPathDrawProc; AData: pointer); overload; |
|
procedure stroke; overload; |
|
procedure strokeOverFill; |
|
procedure strokeRect(x,y,w,h: single); |
|
procedure strokeResetTransform; |
|
procedure strokeScale(x,y: single); |
|
procedure strokeSkewx(angleRadCW: single); |
|
procedure strokeSkewy(angleRadCW: single); |
|
procedure strokeStyle(color: string); overload; |
|
procedure strokeStyle(texture: IBGRAScanner); overload; |
|
procedure strokeStyle(provider: IBGRACanvasTextureProvider2D); overload; |
|
procedure strokeStyle(color: TBGRAPixel); overload; |
|
procedure strokeStyle(color: TColor); overload; |
|
procedure strokeText(AText: string; x,y: single); |
|
procedure text(AText: string; x,y: single); |
|
procedure toSpline(closed: boolean; style: TSplineStyle= ssOutside); |
|
procedure transform(m11,m21, m12,m22, m13,m23: single); overload; |
|
procedure transform(AMatrix: TAffineMatrix); overload; |
|
procedure translate(x,y: single); |
|
procedure unclip; |
Properties
property currentPath: ArrayOfTPointF read GetCurrentPathAsPoints; |
|
property direction: TFontBidiMode read GetTextDirection write SetTextDirection; |
|
property fillMode: TFillMode read GetFillMode write SetFillMode; |
|
property font: string read GetFontString write SetFontString; |
|
property fontEmHeight: single read GetFontEmHeight write SetFontEmHeight; |
|
property fontName: string read GetFontName write SetFontName; |
|
property fontRenderer: TBGRACustomFontRenderer read GetFontRenderer write SetFontRenderer; |
|
property fontStyle: TFontStyles read GetFontStyle write SetFontStyle; |
|
property globalAlpha: single read GetGlobalAlpha write SetGlobalAlpha; |
|
property hasShadow: boolean read GetHasShadow; |
|
property height: Integer read GetHeight; |
|
property lineCap: string read GetLineCap write SetLineCap; |
|
property lineCapLCL: TPenEndCap read GetLineCapLCL write SetLineCapLCL; |
|
property lineJoin: string read GetlineJoin write SetLineJoin; |
|
property lineJoinLCL: TPenJoinStyle read GetlineJoinLCL write SetLineJoinLCL; |
|
property lineWidth: single read GetLineWidth write SetLineWidth; |
|
property matrix: TAffineMatrix read GetMatrix write SetMatrix; |
|
property miterLimit: single read GetMiterLimit write SetMiterLimit; |
|
property pixelCenteredCoordinates: boolean read GetPixelCenteredCoordinates write SetPixelCenteredCoordinates; |
|
property shadowBlur: single read GetShadowBlur write SetShadowBlur; |
|
property shadowFastest: boolean read GetShadowFastest write SetShadowFastest; |
|
property shadowOffset: TPointF read GetShadowOffset write SetShadowOffset; |
|
property shadowOffsetX: single read GetShadowOffsetX write SetShadowOffsetX; |
|
property shadowOffsetY: single read GetShadowOffsetY write SetShadowOffsetY; |
|
property strokeMatrix: TAffineMatrix read GetStrokeMatrix write SetStrokeMatrix; |
|
property surface: TBGRACustomBitmap read FSurface; |
|
property textAlign: string read GetTextAlign write SetTextAlign; |
|
property textAlignLCL: TAlignment read GetTextAlignLCL write SetTextAlignLCL; |
|
property textBaseline: string read GetTextBaseline write SetTextBaseline; |
|
property width: Integer read GetWidth; |
Description
Fields
antialiasing: boolean; |
|
gradientGammaCorrection: boolean; |
|
linearBlend: boolean; |
|
Methods
constructor Create(ASurface: TBGRACustomBitmap); |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
function createLinearGradient(p0,p1: TPointF): IBGRACanvasGradient2D; overload; |
|
This item has no description. |
function createLinearGradient(x0,y0,x1,y1: single): 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; Colors: TBGRACustomGradient): IBGRACanvasGradient2D; overload; |
|
This item has no description. |
function createPattern(image: TBGRACustomBitmap; repetition: string): IBGRACanvasTextureProvider2D; overload; |
|
This item has no description. |
function createPattern(texture: IBGRAScanner): IBGRACanvasTextureProvider2D; overload; |
|
This item has no description. |
function createRadialGradient(x0,y0,r0,x1,y1,r1: single; 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; |
|
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. |
function createRadialGradient(x0,y0,r0,x1,y1,r1: single; Colors: TBGRACustomGradient; 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(pt: TPointF): boolean; overload; |
|
This item has no description. |
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; cdecl; |
|
This item has no description. |
function _AddRef: Integer; cdecl; |
|
This item has no description. |
function _Release: Integer; cdecl; |
|
This item has no description. |
procedure addPath(ASvgPath: string); overload; |
|
This item has no description. |
procedure addPath(APath: IBGRAPath); overload; |
|
This item has no description. |
procedure arc(cx, cy, rx,ry, xAngleRadCW, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
|
This item has no description. |
procedure arc(cx, cy, rx,ry, xAngleRadCW, startAngleRadCW, endAngleRadCW: single); overload; |
|
This item has no description. |
procedure arc(constref arcDef: TArcDef); overload; |
|
This item has no description. |
procedure arc(x, y, radius, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
|
This item has no description. |
procedure arc(x, y, radius, startAngleRadCW, endAngleRadCW: 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; |
|
This item has no description. |
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 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(AFillProc: TBGRAPathFillProc; AData: pointer); overload; |
|
This item has no description. |
procedure fill; overload; |
|
This item has no description. |
procedure fill(AFillProc: TBGRAPathFillProc; const AMatrix: TAffineMatrix; AData: pointer); overload; |
|
This item has no description. |
procedure fillOverStroke; |
|
may not render curve nicely |
procedure fillRect(x,y,w,h: single); |
|
This item has no description. |
procedure fillStyle(provider: IBGRACanvasTextureProvider2D); overload; |
|
This item has no description. |
procedure fillStyle(color: TColor); overload; |
|
This item has no description. |
procedure fillStyle(color: TBGRAPixel); overload; |
|
This item has no description. |
procedure fillStyle(color: string); overload; |
|
This item has no description. |
procedure fillStyle(texture: IBGRAScanner); overload; |
|
This item has no description. |
procedure fillText(AText: string; x,y: single); |
|
This item has no description. |
procedure lineStyle(const AValue: array of single); overload; |
|
This item has no description. |
procedure lineStyle(AStyle: TPenStyle); overload; |
|
This item has no description. |
procedure lineTo(x,y: single); overload; |
|
This item has no description. |
procedure lineTo(constref pt: TPointF); overload; |
|
This item has no description. |
procedure moveTo(constref pt: TPointF); overload; |
|
This item has no description. |
procedure moveTo(x,y: single); 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(constref cp,pt: TPointF); overload; |
|
This item has no description. |
procedure quadraticCurveTo(cpx,cpy,x,y: single); 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; |
|
This item has no description. |
procedure roundRect(x,y,w,h,radius: single); overload; |
|
This item has no description. |
procedure save; |
|
This item has no description. |
procedure scale(factor: single); overload; |
|
This item has no description. |
procedure scale(x,y: single); overload; |
|
This item has no description. |
procedure setTransform(m11,m21, m12,m22, m13,m23: single); |
|
This item has no description. |
procedure shadowColor(color: TColor); overload; |
|
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 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; |
|
This item has no description. |
procedure stroke(ADrawProc: TBGRAPathDrawProc; AData: pointer); overload; |
|
This item has no description. |
procedure stroke; overload; |
|
may not render curve nicely |
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; |
|
This item has no description. |
procedure strokeStyle(texture: IBGRAScanner); overload; |
|
This item has no description. |
procedure strokeStyle(provider: IBGRACanvasTextureProvider2D); overload; |
|
This item has no description. |
procedure strokeStyle(color: TBGRAPixel); overload; |
|
This item has no description. |
procedure strokeStyle(color: TColor); 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(m11,m21, m12,m22, m13,m23: single); overload; |
|
This item has no description. |
procedure transform(AMatrix: TAffineMatrix); overload; |
|
This item has no description. |
procedure translate(x,y: single); |
|
This item has no description. |
procedure unclip; |
|
This item has no description. |
Properties
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. |