CreateRotatingButtonGroup

function CreateRotatingButtonGroup(targetLayer: TLayer32; buttonSize: integer = 0; pivotButtonColor: TColor32 = clWhite32; angleButtonColor: TColor32 = clBlue32; initialAngle: double = 0; angleOffset: double = 0; enablePivotMove: Boolean = True; buttonLayerClass: TButtonDesignerLayer32Class = nil): TRotatingGroupLayer32; overload

function CreateRotatingButtonGroup(targetLayer: TLayer32; const pivot: TPointD; buttonSize: integer = 0; pivotButtonColor: TColor32 = clWhite32; angleButtonColor: TColor32 = clBlue32; initialAngle: double = 0; angleOffset: double = 0; enablePivotMove: Boolean = True; buttonLayerClass: TButtonDesignerLayer32Class = nil): TRotatingGroupLayer32; overload


The Layers201 application in the Samples folder demonstrates using this function.



See Also

TLayer32, TRotatingGroupLayer32, TButtonDesignerLayer32Class