CrossLineTool class
- Inheritance
- 
    - Object
- DrawingTool
- CrossLineTool
 
Constructors
- CrossLineTool({required String id, Offset? centerPoint, Color color = const Color(0xFF00BFFF), double strokeWidth = 2.0})
Properties
- centerPoint ↔ Offset?
- 
  
  getter/setter pair
- color ↔ Color
- 
  
  getter/setter pairinherited
- createTime → DateTime
- 
  
  finalinherited
- displayName → String
- 
  获取工具类型的显示名称
  no setterinherited
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- icon → IconData
- 
  获取工具类型的图标
  no setterinherited
- id → String
- 
  
  finalinherited
- isComplete → bool
- 
  
  no setteroverride
- isVisible ↔ bool
- 
  
  getter/setter pairinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- state ↔ DrawingToolState
- 
  
  getter/setter pairinherited
- strokeWidth ↔ double
- 
  
  getter/setter pairinherited
- type → DrawingToolType
- 
  
  finalinherited
Methods
- 
  draw(Canvas canvas, Size size, double scaleX, double scrollX, double getX(double), double getY(double)) → void 
- 
  
  override
- 
  drawSelectionIndicator(Canvas canvas, {double highlightOpacity = 0.3}) → void 
- 
  绘制选中状态的视觉反馈
  inherited
- 
  getBounds() → Rect 
- 
  
  override
- 
  getFillPaint({double? opacity}) → Paint 
- 
  获取填充Paint对象
  inherited
- 
  getPaint({double? opacity}) → Paint 
- 
  获取绘制时的Paint对象
  inherited
- 
  hitTest(Offset point) → bool 
- 
  
  override
- 
  move(Offset delta) → void 
- 
  
  override
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  
  override
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
Static Methods
- 
  fromJson(Map< String, dynamic> json) → CrossLineTool
- 
  
  override