PatternAssignment.setCenter() method
Convenience setter for the center_x
and center_y
options.
Signature:
setCenter(center: [
PatternAssignmentOptions['center_x'],
PatternAssignmentOptions['center_y']
]): this;
Parameters
Parameter |
Type |
Description |
---|---|---|
center |
[ PatternAssignmentOptions['center_x'], PatternAssignmentOptions['center_y'] ] |
this