Skip to main content

TcxCustomLookAndFeelPainter.DrawScaledButton(TcxCanvas,TRect,string,TcxButtonState,TdxScaleFactor,Boolean,TColor,TColor,Boolean,Boolean,TcxButtonPart) Method

Declaration

procedure DrawScaledButton(ACanvas: TcxCanvas; R: TRect; const ACaption: string; AState: TcxButtonState; AScaleFactor: TdxScaleFactor; ADrawBorder: Boolean = True; AColor: TColor = clDefault; ATextColor: TColor = clDefault; AWordWrap: Boolean = False; AIsToolButton: Boolean = False; APart: TcxButtonPart = cxbpButton); overload;

Parameters

Name Type
ACanvas TcxCanvas
R TRect
ACaption string
AState TcxButtonState
AScaleFactor TdxScaleFactor
ADrawBorder Boolean
AColor TColor
ATextColor TColor
AWordWrap Boolean
AIsToolButton Boolean
APart TcxButtonPart
See Also