FMX.Controls3D.TControl3D.PaintToBitmap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure PaintToBitmap(const ABitmap: TBitmap; AWidth, AHeight: Integer; ClearColor: TAlphaColor;
AutoFit: Boolean = False; const AMultisample: TMultisample = TMultisample.None);

C++

void __fastcall PaintToBitmap(Fmx::Graphics::TBitmap* const ABitmap, int AWidth, int AHeight, System::Uitypes::TAlphaColor ClearColor, bool AutoFit = false, const Fmx::Types3d::TMultisample AMultisample = (Fmx::Types3d::TMultisample)(0x0));

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Controls3D.pas
FMX.Controls3D.hpp
FMX.Controls3D TControl3D

Description

Paints this 3D control to a TBitmap.

The PaintToBitmap method paints this 3D control to a flat 2D bitmap.

The ABitmap parameter specifies the bitmap used to paint this 3D control on.

The AWidth and AHeight parameters specify the width and height of the bitmap.

The ClearColor parameter specifies the alpha color used as background when creating the bitmap.

The AutoFit parameter specifies whether the 3D control's bitmap representation is resized to fit automatically the dimensions of the bitmap.

The AMultisample parameter specifies the number of samples (antialiasing) to apply.

See Also