class_docstr: A linear transform with a scale and offset.
class_docstr_tok: ["A","linear","transform","with","a","scale","and","offset","."]
code: def __init__(self, scale=None, offset=None):
      if scale is None:
          self.scale = point.Point(1, 1)
      elif isinstance(scale, numbers.Number):
          self.scale = point.Point(scale, scale)
      else:
          self.scale = scale
      assert self.scale.x != 0 and self.scale.y != 0
      self.offset = offset or point.Point(0, 0)
  
imports: import numbers
  from pysc2.lib import point
label_desc: Use image node_id 1 to create a new Linear object from inherited base classes: Transform with example: obj = Linear(scale, offset)