\Kendo\UI\ImageEditorMessagesPanesCrop
A PHP class representing the crop setting of ImageEditorMessagesPanes.
Methods
aspectRatio
Defines the localization for the crop pane field.
Returns
\Kendo\UI\ImageEditorMessagesPanesCrop
Parameters
$value string
Example
<?php
$crop = new \Kendo\UI\ImageEditorMessagesPanesCrop();
$crop->aspectRatio('value');
?>
aspectRatioItems
Defines the localization for the crop pane field.
Returns
\Kendo\UI\ImageEditorMessagesPanesCrop
Parameters
$value \Kendo\UI\ImageEditorMessagesPanesCropAspectRatioItems|array
Example - using \Kendo\UI\ImageEditorMessagesPanesCropAspectRatioItems
<?php
$crop = new \Kendo\UI\ImageEditorMessagesPanesCrop();
$aspectRatioItems = new \Kendo\UI\ImageEditorMessagesPanesCropAspectRatioItems();
$originalRatio = 'value';
$aspectRatioItems->originalRatio($originalRatio);
$crop->aspectRatioItems($aspectRatioItems);
?>
Example - using array
<?php
$crop = new \Kendo\UI\ImageEditorMessagesPanesCrop();
$originalRatio = 'value';
$crop->aspectRatioItems(array('originalRatio' => $originalRatio));
?>
landscape
Defines the localization for the crop pane field.
Returns
\Kendo\UI\ImageEditorMessagesPanesCrop
Parameters
$value string
Example
<?php
$crop = new \Kendo\UI\ImageEditorMessagesPanesCrop();
$crop->landscape('value');
?>
orientation
Defines the localization for the crop pane field.
Returns
\Kendo\UI\ImageEditorMessagesPanesCrop
Parameters
$value string
Example
<?php
$crop = new \Kendo\UI\ImageEditorMessagesPanesCrop();
$crop->orientation('value');
?>
portrait
Defines the localization for the crop pane field.
Returns
\Kendo\UI\ImageEditorMessagesPanesCrop
Parameters
$value string
Example
<?php
$crop = new \Kendo\UI\ImageEditorMessagesPanesCrop();
$crop->portrait('value');
?>
title
Defines the localization for the crop pane field.
Returns
\Kendo\UI\ImageEditorMessagesPanesCrop
Parameters
$value string
Example
<?php
$crop = new \Kendo\UI\ImageEditorMessagesPanesCrop();
$crop->title('value');
?>