Transform2DDecorator class
Transform2DDecorator applies a translation/rotation/scale transform to the canvas.
This decorator is used internally by the PositionComponent.
Constructors
- Transform2DDecorator([Transform2D? transform])
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- isLastDecorator → bool
- 
  
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- transform2d → Transform2D
- 
  
  final
Methods
- 
  addLast(Decorator? decorator) → void 
- 
  Adds a new decorator onto the chain of decorators
  inherited
- 
  apply(void draw(Canvas), Canvas canvas) → void 
- 
  Applies visual effect while drawing on thecanvas.override
- 
  applyChain(void draw(Canvas), Canvas canvas) → void 
- 
  Applies this and all subsequent decorators if any.
  inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  removeLast() → void 
- 
  Removes the last decorator from the chain of decorators
  inherited
- 
  replaceLast(Decorator? decorator) → void 
- 
  
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited