Class: TransformControls

PhotoEditorSDK.UI~ReactUI.Controls. TransformControls

The transform controls

new PhotoEditorSDK.UI.ReactUI.Controls.TransformControls()

ui/react-ui/components/controls/transform/index.js, line 28

Extends

Members

staticPhotoEditorSDK.UI.ReactUI.Controls.TransformControls.defaultOptionsObject

The default options for this control

Properties:
Name Type Argument Default Description
ratios Array.<Object> <optional>
[]
replaceRatios Boolean <optional>
false
availableRatios Array.<String> <optional>
null

staticPhotoEditorSDK.UI.ReactUI.Controls.TransformControls.identifierString

This control's identifier

Default Value:
  • transform

staticPhotoEditorSDK.UI.ReactUI.Controls.TransformControls.requiredOperationsArray

The operations required for this control to work properly

staticPhotoEditorSDK.UI.ReactUI.Controls.TransformControls.topBarControlsComponentPhotoEditorSDK.UI.ReactUI.TopBarControlsComponent

This control's top bar component. Used for the upper part of the editor.

Methods

staticPhotoEditorSDK.UI.ReactUI.Controls.TransformControls.getPreloadAssets(editor){Array.<String>}

ui/react-ui/components/controls/transform/index.js, line 146

Returns the assets that should be preloaded for this control

Name Type Description
editor PhotoEditorSDK.UI.ReactUI.Editor
Returns:
Type Description
Array.<String>