JonoM\FocusPoint\Forms\FocusPointField
FocusPointField class.
Facilitates the selection of a focus point on an image.
Synopsis
class FocusPointField
extends FieldGroup
{
- // members
- private static bool $debug = false;
- private static integer $max_width = 300;
- private static integer $max_height = 150;
- protected $schemaDataType = FormField::SCHEMA_DATA_TYPE_CUSTOM;
- protected string $schemaComponent = 'FocusPointField';
- protected $image = NULL;
- // methods
- public void __construct()
- public void getToolTip()
- public void getSchemaStateDefaults()
Hierarchy
Extends
- SilverStripe\Forms\FieldGroup
Members
private
- $debug
—
JonoM\FocusPoint\Forms\bool
Enable to view Focus X and Focus Y fields while in Dev mode. - $max_height
—
integer
Maximum height of preview image - $max_width
—
integer
Maximum width of preview image
protected
- $image
- $schemaComponent
- $schemaDataType