class_docstr: Transform performing only scale and translate, in that order.
  
  Parameters
  ----------
  scale : array-like
      Scale factors for X, Y, Z axes.
  translate : array-like
      Scale factors for X, Y, Z axes.
docstr: Update the transform such that its scale factor is changed, but
  the specified center point is left unchanged.
  
  Parameters
  ----------
  zoom : array-like
      Values to multiply the transform's current scale
      factors.
  center : array-like
      The center point around which the scaling will take place.
  mapped : bool
      Whether *center* is expressed in mapped coordinates (True) or
      unmapped coordinates (False).
docstr_tok: ["Update","the","transform","such","that","its","scale","factor","is","changed",",","but","the","specified","center","point","is","left","unchanged",".","Parameters","--","--","--","--","--","zoom",":","array-like","Values","to","multiply","the","transform","'s","current","scale","factors",".","center",":","array-like","The","center","point","around","which","the","scaling","will","take","place",".","mapped",":","bool","Whether","*","center","*","is","expressed","in","mapped","coordinates","(","True",")","or","unmapped","coordinates","(","False",")","."]
code: def zoom(self, zoom, center=(0, 0, 0), mapped=True):
      """Update the transform such that its scale factor is changed, but
      the specified center point is left unchanged.
  
      Parameters
      ----------
      zoom : array-like
          Values to multiply the transform's current scale
          factors.
      center : array-like
          The center point around which the scaling will take place.
      mapped : bool
          Whether *center* is expressed in mapped coordinates (True) or
          unmapped coordinates (False).
      """
      zoom = as_vec4(zoom, default=(1, 1, 1, 1))
      center = as_vec4(center, default=(0, 0, 0, 0))
      scale = self.scale * zoom
      if mapped:
          trans = center - (center - self.translate) * zoom
      else:
          trans = self.scale * (1 - zoom) * center + self.translate
      self._set_st(scale=scale, translate=trans)
  
imports: from __future__ import division
  import numpy
  from ...util import transforms
  from ...geometry import Rect
  from ._util import arg_to_vec4, as_vec4
  from .base_transform import BaseTransform
label_desc: Use image node_id 13 for calling the STTransform obj's underlying member method code with example usage: obj.zoom(zoom, center, mapped) without return types