FMX.Types.TGuillotineBinPack.Insert
Delphi
function Insert(const NodeSize: TPoint; const Merge: Boolean = True;
const FreeChoice: TFreeChoiceHeuristic = TFreeChoiceHeuristic.BestAreaFit;
const SplitMethod: TSplitMethodHeuristic = TSplitMethodHeuristic.MinimizeArea): TRect;
C++
System::Types::TRect __fastcall Insert(const System::Types::TPoint &NodeSize, const bool Merge = true, const TFreeChoiceHeuristic FreeChoice = (TFreeChoiceHeuristic)(0x0), const TSplitMethodHeuristic SplitMethod = (TSplitMethodHeuristic)(0x2));
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | TGuillotineBinPack |
Description
Accomodates a smaller rectangle inside the parent rectangle.
Note: If the Merge paramater is set to true, MergeFreeList will be called after the operation.