PatternAssignment class

Pattern assignments are returned when applying pattern resources to a Design.

Signature:

declare class PatternAssignment extends AbstractAssignment<PatternResource, PatternAssignmentOptions> 

Extends: AbstractAssignment<PatternResource, PatternAssignmentOptions>

Methods

Method

Modifiers

Description

getCenter()

Convenience getter for the center_x and center_y options.

getOffset()

Convenience getter for the offset_x and offset_y options.

getRotation()

Convenience getter for the rotation option.

getScale()

Convenience getter for the scale option.

getUvCenter()

getUvOffset()

getUvRotation()

getUvScale()

resetCenter()

Convenience resetter for the center_x and center_y options.

resetOffset()

Convenience resetter for the offset_x and offset_y options.

resetRotation()

Convenience resetter for the rotation option.

resetScale()

Convenience resetter for the scale option.

resetUvCenter()

resetUvOffset()

resetUvRotation()

resetUvScale()

setCenter(center)

Convenience setter for the center_x and center_y options.

setOffset(offset)

Convenience setter for the offset_x and offset_y options.

setRotation(rotation)

Convenience setter for the rotation option.

setScale(scale)

Convenience setter for the scale option.

setSize(value, unit)

Set the scale option by unit value.

setUvCenter(center)

setUvOffset(offset)

setUvRotation(rotation)

setUvScale(scale)

Get in touch

We'd love to learn more about your vision and how we can help.

PressPrivacyTermsSupportCopyright © 2024 Core3D, Inc. All Rights Reserved.