Transform

Transform

The <transform> element adjusts a decoration’s size, orientation, and position. Each decoration uses one transform.


XML structure

<transform
      scale="1.0"       // Scale factor: double, min 0.8, max 1.2
      mirror="none"     // Mirror mode: none | horizontal | vertical | both
      rotation="0"      // Rotation angle in degrees (+/-)
      dx="0.0"          // X translation in mm (from location top-left)
      dy="0.0"          // Y translation in mm (from location top-left)
/>


Transform order

Transformations apply in this order:
  1. Scale → around the decoration’s center
  2. Mirror → horizontal/vertical/both, around center
  3. Rotate → around center, clockwise (+) or counterclockwise (–)
  4. Translate (dx/dy) → moves the transformed decoration right and down from the location’s top-left corner.

Attributes

Attribute
Details
scale
Scale factor: 0.8 (80%) to 1.2 (120%). Embroidery scaling is limited to ±20% for quality.
mirror
Flip mode: none (default), horizontal, vertical, or both.
rotation
Degrees of rotation. 0 means no rotation. Positive = clockwise.
dx / dy
X and Y offsets in mm, relative to the location’s top-left corner.

Remarks

  1. The client must ensure that after transformation, the decoration still fits within its placement area.
  2. Invalid scale values (below 0.8 or above 1.2) are rejected.


  1. EWA design recipe
  2. EWA API methods overview
  3. EWA data packages overview
    • Related Articles

    • Transform designs

      Resize, rotate, and flip designs using the Edit panel. These transformations let you adjust a design to suit different hoops, garment layouts, or design orientations while maintaining stitch quality whenever possible. Truesizer recalculates the ...
    • How to change the units of measurement in Wilcom Estimator?

      Sign in to the Wilcom Workspace website. Link https://profile.wilcom.com/auth/signin Click Estimator Upload the image. Hover to the measurement toolbar down the middle of the platform. Click the down arrow key. To change the measurement, select ...
    • How to resize an embroidery design

      To resize an embroidery design in WilcomWorkspace: Log into WilcomWorkspace. Browse to TrueSizer from the left-side menu 3. Open your embroidery design 4. In the right-side Edit panel, change the Width or Height of the design and press Enter the ...
    • Understanding embroidery files

      Embroidery designs are created, edited, shared, and stitched using different types of embroidery files. Understanding the purpose of each file type will help you choose the right format for editing, sharing, and production. Wilcom applications work ...
    • About WilcomWorkspace

      WilcomWorkspace is Wilcom's cloud-based embroidery workspace, bringing together a growing collection of online applications that support different stages of the embroidery workflow. Accessible from any modern web browser, it enables embroidery ...