\Kendo\UI\ImageEditorMessagesPanes

A PHP class representing the panes setting of ImageEditorMessages.

Methods

crop

Defines the localization for the crop pane.

Returns

\Kendo\UI\ImageEditorMessagesPanes

Parameters

$value \Kendo\UI\ImageEditorMessagesPanesCrop|array

Example - using \Kendo\UI\ImageEditorMessagesPanesCrop

<?php
$panes = new \Kendo\UI\ImageEditorMessagesPanes();
$crop = new \Kendo\UI\ImageEditorMessagesPanesCrop();
$aspectRatio = 'value';
$crop->aspectRatio($aspectRatio);
$panes->crop($crop);
?>

Example - using array

<?php
$panes = new \Kendo\UI\ImageEditorMessagesPanes();
$aspectRatio = 'value';
$panes->crop(array('aspectRatio' => $aspectRatio));
?>

resize

Defines the localization for the resize pane.

Returns

\Kendo\UI\ImageEditorMessagesPanes

Parameters

$value \Kendo\UI\ImageEditorMessagesPanesResize|array

Example - using \Kendo\UI\ImageEditorMessagesPanesResize

<?php
$panes = new \Kendo\UI\ImageEditorMessagesPanes();
$resize = new \Kendo\UI\ImageEditorMessagesPanesResize();
$percents = 'value';
$resize->percents($percents);
$panes->resize($resize);
?>

Example - using array

<?php
$panes = new \Kendo\UI\ImageEditorMessagesPanes();
$percents = 'value';
$panes->resize(array('percents' => $percents));
?>
In this article
Not finding the help you need?