BoundingBoxController constructor
BoundingBoxController({
- required Offset position,
- required Size size,
- double rotation = 0,
- bool enable = false,
- bool? enableRotate = true,
- bool? enableMove = true,
- double actionSize = defaultActionSize,
- Color? handleResizeBackgroundColor,
- Color? handleResizeStrokeColor,
- Color? handleRotateBackgroundColor,
- Color? handleRotateStrokeColor,
- Color? handleMoveBackgroundColor,
- Color? handleMoveStrokeColor,
- Color? strokeColor,
- double? strokeWidth,
- double? handleResizeStrokeWidth,
- double? handleRotateStrokeWidth,
- double? handleMoveStrokeWidth,
- Widget? rotateIcon,
- Widget? moveIcon,
- Widget? customHandleResize,
- Widget? customHandleRotate,
- Widget? customHandleMove,
- double? handlePosition,
- BoxDecoration? customDecoration,
Implementation
BoundingBoxController({
required this.position,
required this.size,
this.rotation = 0,
this.enable = false,
this.enableRotate = true,
this.enableMove = true,
this.actionSize = defaultActionSize,
this.handleResizeBackgroundColor,
this.handleResizeStrokeColor,
this.handleRotateBackgroundColor,
this.handleRotateStrokeColor,
this.handleMoveBackgroundColor,
this.handleMoveStrokeColor,
this.strokeColor,
this.strokeWidth,
this.handleResizeStrokeWidth,
this.handleRotateStrokeWidth,
this.handleMoveStrokeWidth,
this.rotateIcon,
this.moveIcon,
this.customHandleResize,
this.customHandleRotate,
this.customHandleMove,
this.handlePosition,
this.customDecoration,
});