DocumentationDocumentation
Darty.ai
Get Started
Basics
Methods
Colors
UI
Workflows
Darty.ai
Get Started
Basics
Methods
Colors
UI
Workflows
  • Get Started

    • Installation and Login
    • Your First Darty Document
    • Installers - Instructions and Downloads
    • Licensing
  • Basics

    • Darty Basics
    • Darty Header
    • Darty Tags
  • Methods

    • Darty Methods
    • Align
    • Appearance - General
    • Appearance - Colors & Swatches
    • Appearance - Effect Properties
    • Artboard Methods
    • Arrange
    • Attributes
    • Clean Document
    • Clipping Mask Make and Release
    • Color Mode
    • Compound Path - Make and Release
    • Distribute
    • Duplicate
    • Expand
    • Fit To Bounds
    • Group & Ungroup
    • Layer Methods
    • Outline
    • Pathfinder
    • Place
    • Rasterize
    • Reduce To Basic Appearance
    • Remove
    • Swatch Methods
    • Tags Methods
    • Text
    • Transform Methods
    • zOrder
    • Skip and *
  • Colors

    • Color Libraries
  • User Interface

    • Darty User-Interface
    • Tags Tab
    • Data Tab
    • Export Tab
    • Settings Tab
    • Help Tab
    • Export Settings
    • Export Validation
    • Job Export Settings
    • Export Counter Variables
    • Export Progress
    • Export Presets
    • Recent Files
    • Color Dialog
  • Cloud Data

    • Darty-Ai Cloud Data Integrations
    • Darty-Ai with Google Sheets
  • Workflows

    • Darty Workflows
    • Darty Preview
    • Darty Export Workflows
    • Darty Data Workflows

Transform Methods

Transform

The Transform method is used to change the positioning, rotation, shear-angle, and scaling of document art according to Illustrator UI's Transform dialog feature as well as the Transform Panel.

Positioning, rotation, shear-angle, etc. can be set at the same time.

Note: As the Darty-Ai tagging mechanism allows for setting the same tags on multiple items, this method effectively simulates Illustrator's "Transform-Each" dialog except for the "Random" parameter at this time.

Transform - Positioning

The following parameters are used to change an object's position on the artboard explicitly by setting the coordinate through data:

MethodDescription
x 
The x coordinate to move the object to, use the useGlobalRuler property to specify whether to use the Global or Artboard coordinates
Example Values: 10in, 2000, 1' etc.
y 
The y coordinate to move the object to, use the useGlobalRuler property to specify whether to use the Global or Artboard coordinates
Example Values: 10in, 2000, 1' etc.
xyAnchorPoint 
The anchor point to scale, rotate or reflect from, if an x or y value is provided, the object will first be scaled, rotated, etc. and then moved to the x and y coordinates
Valid Values:
tl topLeft 1, t top 2, tr topRight 3
l left 4, c center 5, r right 6
bl bottomLeft 7, b bottom 8, br bottomRight 9
transformObjects 
Whether or not to transform the object, the case for setting this to false would be if you only want to transform the objects pattern if it has one
Valid Values: true or false
changeFillPatterns 
Whether or not to transform the object's fill pattern
Valid Values: true or false
changeStrokePattern 
Whether or not to transform the object's stroke pattern
Valid Values: true or false
useGlobalRuler 
Whether or not to use use global ruler. The artboard ruler will be used if the global ruler is not used.
Valid Values: true or false
usePreviewBounds 
Whether to transform the object based on its preview bounds. The preview bounds take into account the object's strokes and effects.
Valid Values: true or false
tagSearch 
The tag search of the tagged artwork to set the attributes.
Example Values: eyes | nose | mouth | ears, face
skip 
Set to true is you want the method to be skipped in a particular row.
See * and Skip for details.
Valid Values: true or false
* 
Set to false if you want the method to be skipped in a particular row.
See * and Skip for details Valid Values: true or false

Positioning Example Spreadsheet

star
transform
xyxyAnchorPointuseGlobalRulerchangeStrokePatternscaleStrokeschangeFillPatternstransformObjects:true
5050CENTERTRUETRUETRUETRUE
CENTERFALSETRUETRUETRUE
5050TOPLEFTTRUETRUETRUE
TOPLEFTTRUETRUETRUE
5050CENTERTRUETRUETRUEFALSE
CENTERTRUETRUETRUEFALSE
Download: transform-move-and-rotate.ai
Download: transform-positioning.csv

Transform - Translation

Move

These parameters are used to move an art-item relative to its current location in the document. All parameters not involving rotation angle in this sub-set of transform parameters are change-values which will calculate against the object's current measurements.

MethodDescription
deltaX / deltaH 
Moves the object on the horizontal axis relative to it's current position.
Example Values: 10in, 2000, 1' etc.
deltaY / deltaV 
Moves the object on the vertical axis relative to it's current position.
Example Values: 10in, 2000, 1' etc.
distance 
Distance to move at a given angle, if no angle is given, the object will be moved to the right
Example Values: 10in, 2000, 1' etc.
angle 
Set the angle to move the object when a distance property is set.
Use the rotation parameter to additionally rotate the object about itself if required.
Example Values: 0, 45, 180, 303, -20
transformObjects 
Whether or not to transform the object, the case for setting this to false would be if you only want to transform the objects pattern if it has one
Valid Values: true or false
changeFillPatterns 
Whether or not to transform the object's fill pattern
Valid Values: true or false
changeStrokePattern 
Whether or not to transform the object's stroke pattern
Valid Values: true or false
tagSearch 
The tag search of the tagged artwork to set the attributes.
Example Values: eyes | nose | mouth | ears, face
skip 
Set to true is you want the method to be skipped in a particular row.
See * and Skip for details.
Valid Values: true or false
* 
Set to false if you want the method to be skipped in a particular row.
See * and Skip for details Valid Values: true or false

Translation Example Spreadsheet

star
transform
deltaXdeltaYangledistanceanchorPointchangeStrokePatternscaleStrokeschangeFillPatternstransformObjects:true
5050CENTERTRUETRUETRUE
7250CENTERTRUETRUETRUE
5050TOPLEFTTRUETRUETRUE
7250TOPLEFTTRUETRUETRUE
5050CENTERTRUETRUETRUEFALSE
7250CENTERTRUETRUETRUEFALSE
Download: transform-move-and-rotate.ai
Download: transform-translation.csv

Transform - Rotation and Flip

Rotate

The rotation property turns the art object about itself.
The flip property flips the object, horizontally, vertically or both.

MethodDescription
anchorPoint 
The anchor point to scale, rotate or reflect from, if an x or y value is provided, the object will first be moved to the x and y coordinates and then scaled, rotated, etc.
Valid Values:
tl topLeft 1, t top 2, tr topRight 3
l left 4, c center 5, r right 6
bl bottomLeft 7, b bottom 8, br bottomRight 9
xyAnchorPoint 
The anchor point to scale, rotate or reflect from, if an x or y value is provided, the object will first be scaled, rotated, etc. and then moved to the x and y coordinates
Valid Values:
tl topLeft 1, t top 2, tr topRight 3
l left 4, c center 5, r right 6
bl bottomLeft 7, b bottom 8, br bottomRight 9
rotation 
Rotates the art object about itself.
Note: This is not the same as the angle parameter that controls the angle of the item's translation when using the distance parameter.
Example Values: 0, 45, 180, 303, -20
flip 
Will flip the object along it's horizontal or vertical axises or both
Valid Values: h, v, hv, vh
transformObjects 
Whether or not to transform the object, the case for setting this to false would be if you only want to transform the objects pattern if it has one
Valid Values: true or false
changeFillPatterns 
Whether or not to transform the object's fill pattern
Valid Values: true or false
changeStrokePattern 
Whether or not to transform the object's stroke pattern
Valid Values: true or false
useGlobalRuler 
Whether or not to use use global ruler. The artboard ruler will be used if the global ruler is not used.
Valid Values: true or false
usePreviewBounds 
Whether to transform the object based on its preview bounds. The preview bounds take into account the object's strokes and effects.
Valid Values: true or false
tagSearch 
The tag search of the tagged artwork to set the attributes.
Example Values: eyes | nose | mouth | ears, face
skip 
Set to true is you want the method to be skipped in a particular row.
See * and Skip for details.
Valid Values: true or false
* 
Set to false if you want the method to be skipped in a particular row.
See * and Skip for details Valid Values: true or false

Rotation Example Spreadsheet

star
transform
rotationanchorPointchangeStrokePatternscaleStrokeschangeFillPatternstransformObjects:true
72TOPLEFTTRUETRUE
72CENTERTRUETRUE
72TOPLEFTFALSEFALSE
72CENTERFALSEFALSE
72TOPLEFTTRUETRUEFALSE
72CENTERTRUETRUEFALSE
Download: transform-move-and-rotate.ai
Download: transform-rotation.csv

Transform - Shear

Shear

These parameters skew the art item with a specified angle.

MethodDescription
anchorPoint 
The anchor point to scale, rotate or reflect from, if an x or y value is provided, the object will first be moved to the x and y coordinates and then scaled, rotated, etc.
Valid Values:
tl topLeft 1, t top 2, tr topRight 3
l left 4, c center 5, r right 6
bl bottomLeft 7, b bottom 8, br bottomRight 9
xyAnchorPoint 
The anchor point to scale, rotate or reflect from, if an x or y value is provided, the object will first be scaled, rotated, etc. and then moved to the x and y coordinates
Valid Values:
tl topLeft 1, t top 2, tr topRight 3
l left 4, c center 5, r right 6
bl bottomLeft 7, b bottom 8, br bottomRight 9
shearH 
Horizontal shear angle.
Example Values: 0, 45, 180, 303, -20
shearV 
Vertical shear angle.
Example Values: 0, 45, 180, 303, -20
transformObjects 
Whether or not to transform the object, the case for setting this to false would be if you only want to transform the objects pattern if it has one
Valid Values: true or false
changeFillPatterns 
Whether or not to transform the object's fill pattern
Valid Values: true or false
changeStrokePattern 
Whether or not to transform the object's stroke pattern
Valid Values: true or false
useGlobalRuler 
Whether or not to use use global ruler. The artboard ruler will be used if the global ruler is not used.
Valid Values: true or false
usePreviewBounds 
Whether to transform the object based on its preview bounds. The preview bounds take into account the object's strokes and effects.
Valid Values: true or false
tagSearch 
The tag search of the tagged artwork to set the attributes.
Example Values: eyes | nose | mouth | ears, face
skip 
Set to true is you want the method to be skipped in a particular row.
See * and Skip for details.
Valid Values: true or false
* 
Set to false if you want the method to be skipped in a particular row.
See * and Skip for details Valid Values: true or false

Shear Example Spreadsheet

star
transform
shearHshearVanchorPointchangeStrokePatternscaleStrokeschangeFillPatternstransformObjects:true
1010CENTERTRUETRUETRUE
2020CENTERTRUETRUETRUE
1010TOPLEFTTRUETRUETRUE
2020TOPLEFTTRUETRUETRUE
1010CENTERTRUETRUETRUEFALSE
2020CENTERTRUETRUETRUEFALSE
Download: transform-move-and-rotate.ai
Download: transform-shear.csv

Transform - Scaling and Sizing

These properties control the scale and size of the art item.

Scale

Scale Example Spreadsheet

MethodDescription
anchorPoint 
The anchor point to scale, rotate or reflect from, if an x or y value is provided, the object will first be moved to the x and y coordinates and then scaled, rotated, etc.
Valid Values:
tl topLeft 1, t top 2, tr topRight 3
l left 4, c center 5, r right 6
bl bottomLeft 7, b bottom 8, br bottomRight 9
xyAnchorPoint 
The anchor point to scale, rotate or reflect from, if an x or y value is provided, the object will first be scaled, rotated, etc. and then moved to the x and y coordinates
Valid Values:
tl topLeft 1, t top 2, tr topRight 3
l left 4, c center 5, r right 6
bl bottomLeft 7, b bottom 8, br bottomRight 9
scale 
How many times bigger you want to scale the object.
Example Values: 50 - Half it's size, 200 - Double it's size
scaleH 
How many times bigger you want to scale the object horizontally.
Example Values: 50 - Half it's size, 200 - Double it's size.
scaleV 
How many times bigger you want to scale the object vertically.
Example Values: 50 - Half it's size, 200 - Double it's size.
height 
Value to set the item's height to.
Example Values: 10in, 5p3, 1' etc.
heightDiff 
Increases or decrease the height of the object by the given distance.
Example Values: 1in, -1in etc.
width 
Value to set the item's width to.
Example Values: 10in, 5p3, 1" etc.
widthDiff 
Increases or decrease the width of the object by the given distance.
Example Values: 1in, -1in etc.
keepProportions 
Enforces a proportional scaling operation in the cases where a height or width are not both specified
If both height and width (any of these or their vertical counterparts: scaleH, width or widthDiff) are specified and keepProportions is set to TRUE, the width-based parameter is accepted as the value to proportionally fit the height.
Valid Values: true, false
scaleCorners 
Whether or not to scale corners.
Valid Values: true or false
scaleStrokes 
Whether or not to scale strokes and effects.
Valid Values: true or false
transformObjects 
Whether or not to transform the object, the case for setting this to false would be if you only want to transform the objects pattern if it has one
Valid Values: true or false
changeFillPatterns 
Whether or not to transform the object's fill pattern
Valid Values: true or false
changeStrokePattern 
Whether or not to transform the object's stroke pattern
Valid Values: true or false
useGlobalRuler 
Whether or not to use use global ruler. The artboard ruler will be used if the global ruler is not used.
Valid Values: true or false
usePreviewBounds 
Whether to transform the object based on its preview bounds. The preview bounds take into account the object's strokes and effects.
Valid Values: true or false
tagSearch 
The tag search of the tagged artwork to set the attributes.
Example Values: eyes | nose | mouth | ears, face
skip 
Set to true is you want the method to be skipped in a particular row.
See * and Skip for details.
Valid Values: true or false
* 
Set to false if you want the method to be skipped in a particular row.
See * and Skip for details Valid Values: true or false
star
transform
scaleHscaleVkeepProportionswidthDiffheightDiffwidthheightscaleStrokesanchorPointchangeStrokePatternchangeFillPatternstransformObjects:true
50TRUEFALSECENTERTRUETRUE
50FALSE
1"TRUETOPLEFTTRUETRUE
TRUE100ptCENTER
300TRUECENTERTRUETRUE
TRUE2cmFALSECENTERTRUEFALSEFALSE
TRUE2cmTRUECENTERTRUEFALSEFALSE
5050TRUECENTERTRUETRUE
2060TRUECENTERTRUETRUEFALSE
Download: transform-move-and-rotate.ai
Download: transform-scaling.csv

Transform - All Properties

A list of all the transform properties

MethodDescription
anchorPoint 
The anchor point to scale, rotate or reflect from, if an x or y value is provided, the object will first be moved to the x and y coordinates and then scaled, rotated, etc.
Valid Values:
tl topLeft 1, t top 2, tr topRight 3
l left 4, c center 5, r right 6
bl bottomLeft 7, b bottom 8, br bottomRight 9
xyAnchorPoint 
The anchor point to scale, rotate or reflect from, if an x or y value is provided, the object will first be scaled, rotated, etc. and then moved to the x and y coordinates
Valid Values:
tl topLeft 1, t top 2, tr topRight 3
l left 4, c center 5, r right 6
bl bottomLeft 7, b bottom 8, br bottomRight 9
angle 
Set the angle to move the object when a distance property is set.
Use the rotation parameter to additionally rotate the object about itself if required.
Example Values: 0, 45, 180, 303, -20
distance 
Distance to move at a given angle, if no angle is given, the object will be moved to the right
Example Values: 10in, 2000, 1' etc.
deltaX / deltaH 
Moves the object on the horizontal axis relative to it's current position.
Example Values: 10in, 2000, 1' etc.
deltaY / deltaV 
Moves the object on the vertical axis relative to it's current position.
Example Values: 10in, 2000, 1' etc.
height 
Value to set the item's height to.
Example Values: 10in, 5p3, 1' etc.
heightDiff 
Increases or decrease the height of the object by the given distance.
Example Values: 1in, -1in etc.
width 
Value to set the item's width to.
Example Values: 10in, 5p3, 1" etc.
widthDiff 
Increases or decrease the width of the object by the given distance.
Example Values: 1in, -1in etc.
x 
The x coordinate to move the object to, use the useGlobalRuler property to specify whether to use the Global or Artboard coordinates
Example Values: 10in, 2000, 1' etc.
y 
The y coordinate to move the object to, use the useGlobalRuler property to specify whether to use the Global or Artboard coordinates
Example Values: 10in, 2000, 1' etc.
flip 
Will flip the object along it's horizontal or vertical axises or both
Valid Values: h, v, hv, vh
rotation 
Rotates the art object about itself.
Note: This is not the same as the angle parameter that controls the angle of the item's translation when using the distance parameter.
Example Values: 0, 45, 180, 303, -20
scale 
How many times bigger you want to scale the object.
Example Values: 50 - Half it's size, 200 - Double it's size
scaleH 
How many times bigger you want to scale the object horizontally.
Example Values: 50 - Half it's size, 200 - Double it's size.
scaleV 
How many times bigger you want to scale the object vertically.
Example Values: 50 - Half it's size, 200 - Double it's size.
keepProportions 
Enforces a proportional scaling operation in the cases where a height or width are not both specified
If both height and width (any of these or their vertical counterparts: scaleH, width or widthDiff) are specified and keepProportions is set to TRUE, the width-based parameter is accepted as the value to proportionally fit the height.
Valid Values: true, false
shearH 
Horizontal shear angle.
Example Values: 0, 45, 180, 303, -20
shearV 
Vertical shear angle.
Example Values: 0, 45, 180, 303, -20
scaleCorners 
Whether or not to scale corners.
Valid Values: true or false
scaleStrokes 
Whether or not to scale strokes and effects.
Valid Values: true or false
transformObjects 
Whether or not to transform the object, the case for setting this to false would be if you only want to transform the objects pattern if it has one
Valid Values: true or false
changeFillPatterns 
Whether or not to transform the object's fill pattern
Valid Values: true or false
changeStrokePattern 
Whether or not to transform the object's stroke pattern
Valid Values: true or false
useGlobalRuler 
Whether or not to use use global ruler. The artboard ruler will be used if the global ruler is not used.
Valid Values: true or false
usePreviewBounds 
Whether to transform the object based on its preview bounds. The preview bounds take into account the object's strokes and effects.
Valid Values: true or false
tagSearch 
The tag search of the tagged artwork to set the attributes.
Example Values: eyes | nose | mouth | ears, face
skip 
Set to true is you want the method to be skipped in a particular row.
See * and Skip for details.
Valid Values: true or false
* 
Set to false if you want the method to be skipped in a particular row.
See * and Skip for details Valid Values: true or false
Last Updated: 3/17/26, 2:49 AM
Contributors: Trevor
Prev
Text
Next
zOrder