Add since information
authorCyperghost <olaf_schmitz_1@t-online.de>
Wed, 6 Nov 2024 12:19:48 +0000 (13:19 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Wed, 6 Nov 2024 12:19:48 +0000 (13:19 +0100)
ts/WoltLabSuite/Core/Component/Image/Cropper.ts
wcfsetup/install/files/lib/system/file/processor/IFileProcessor.class.php
wcfsetup/install/files/lib/system/file/processor/ImageCropSize.class.php
wcfsetup/install/files/lib/system/file/processor/ImageCropperConfiguration.class.php
wcfsetup/install/files/lib/system/file/processor/ImageCropperType.class.php

index 4349c010f23f6fd16112ce1255be774d5b93a59f..d5a305530ffb5617083509a77cd86008ca618343 100644 (file)
@@ -1,3 +1,12 @@
+/**
+ * An image cropper that allows the user to crop an image before uploading it.
+ *
+ * @author    Olaf Braun
+ * @copyright 2001-2024 WoltLab GmbH
+ * @license   GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @since     6.2
+ */
+
 import ImageResizer from "WoltLabSuite/Core/Image/Resizer";
 import { dialogFactory } from "WoltLabSuite/Core/Component/Dialog";
 import Cropper, { CropperCanvas, CropperImage, CropperSelection } from "cropperjs";
index 2682d3057086a735c783350ff6919edca0eb4b67..7bffa60c9202f40b810d7396145241bfdbc1730e 100644 (file)
@@ -159,6 +159,8 @@ interface IFileProcessor
 
     /**
      * Returns the image cropper configuration for this file processor.
+     *
+     * @since 6.2
      */
     public function getImageCropperConfiguration(): ?ImageCropperConfiguration;
 }
index b71b12637cb09aa75639c12396425331ecd25a34..f26c9d1ba2890d6c42b38737d1490d78f6de56bc 100644 (file)
@@ -2,6 +2,12 @@
 
 namespace wcf\system\file\processor;
 
+/**
+ * @author      Olaf Braun
+ * @copyright   2001-2024 WoltLab GmbH
+ * @license     GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @since       6.2
+ */
 final class ImageCropSize implements \JsonSerializable
 {
     public function __construct(
index 249edb2705786834bd36fa7731461ba6587850c1..cfe5c7205b59af28bb9ad149b18eae86ae883512 100644 (file)
@@ -2,6 +2,14 @@
 
 namespace wcf\system\file\processor;
 
+/**
+ * The configuration for the image cropper.
+ *
+ * @author      Olaf Braun
+ * @copyright   2001-2024 WoltLab GmbH
+ * @license     GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @since       6.2
+ */
 final class ImageCropperConfiguration implements \JsonSerializable
 {
     public readonly float $aspectRatio;
index bf74e95082bcd5a6f532434a69649f4696d2a98a..3df5db1847a84957b3dadb9662cc6d2164dfce5d 100644 (file)
@@ -2,6 +2,12 @@
 
 namespace wcf\system\file\processor;
 
+/**
+ * @author      Olaf Braun
+ * @copyright   2001-2024 WoltLab GmbH
+ * @license     GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @since       6.2
+ */
 enum ImageCropperType
 {
     case MinMax;