|
| 1 | +<?php |
| 2 | +/** |
| 3 | + * -------------------------------------------------------------------------------------------------------------------- |
| 4 | + * <copyright company="Aspose" file="BackgroundPattern.php"> |
| 5 | + * Copyright (c) 2021 Aspose.Tasks Cloud |
| 6 | + * </copyright> |
| 7 | + * <summary> |
| 8 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
| 9 | + * of this software and associated documentation files (the "Software"), to deal |
| 10 | + * in the Software without restriction, including without limitation the rights |
| 11 | + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 12 | + * copies of the Software, and to permit persons to whom the Software is |
| 13 | + * furnished to do so, subject to the following conditions: |
| 14 | + * |
| 15 | + * The above copyright notice and this permission notice shall be included in all |
| 16 | + * copies or substantial portions of the Software. |
| 17 | + * |
| 18 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 19 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 20 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 21 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 22 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 23 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 24 | + * SOFTWARE. |
| 25 | + * </summary> |
| 26 | + * -------------------------------------------------------------------------------------------------------------------- |
| 27 | + */ |
| 28 | +/* |
| 29 | + * BackgroundPattern |
| 30 | + */ |
| 31 | + |
| 32 | +namespace Aspose\Tasks\Model; |
| 33 | +use \Aspose\Tasks\ObjectSerializer; |
| 34 | + |
| 35 | +/* |
| 36 | + * BackgroundPattern |
| 37 | + * |
| 38 | + * @description Specifies the background pattern. |
| 39 | + */ |
| 40 | +class BackgroundPattern |
| 41 | +{ |
| 42 | + /* |
| 43 | + * Possible values of this enum |
| 44 | + */ |
| 45 | + const HOLLOW = 'Hollow'; |
| 46 | + const SOLID_FILL = 'SolidFill'; |
| 47 | + const LIGHT_FILL = 'LightFill'; |
| 48 | + const MEDIUM_FILL = 'MediumFill'; |
| 49 | + const DARK_FILL = 'DarkFill'; |
| 50 | + const DIAGONAL_LEFT = 'DiagonalLeft'; |
| 51 | + const DIAGONAL_RIGHT = 'DiagonalRight'; |
| 52 | + const DARK_DIAGONAL_LEFT = 'DarkDiagonalLeft'; |
| 53 | + const DARK_DIAGONAL_RIGHT = 'DarkDiagonalRight'; |
| 54 | + const THIN_VERTICAL_STRIPE = 'ThinVerticalStripe'; |
| 55 | + const MEDIUM_VERTICAL_STRIPE = 'MediumVerticalStripe'; |
| 56 | + const LIGHT_DITHER = 'LightDither'; |
| 57 | + const MEDIUM_DITHER = 'MediumDither'; |
| 58 | + const DARK_DITHER = 'DarkDither'; |
| 59 | + |
| 60 | + /* |
| 61 | + * Gets allowable values of the enum |
| 62 | + * @return string[] |
| 63 | + */ |
| 64 | + public static function getAllowableEnumValues() |
| 65 | + { |
| 66 | + return [ |
| 67 | + self::HOLLOW, |
| 68 | + self::SOLID_FILL, |
| 69 | + self::LIGHT_FILL, |
| 70 | + self::MEDIUM_FILL, |
| 71 | + self::DARK_FILL, |
| 72 | + self::DIAGONAL_LEFT, |
| 73 | + self::DIAGONAL_RIGHT, |
| 74 | + self::DARK_DIAGONAL_LEFT, |
| 75 | + self::DARK_DIAGONAL_RIGHT, |
| 76 | + self::THIN_VERTICAL_STRIPE, |
| 77 | + self::MEDIUM_VERTICAL_STRIPE, |
| 78 | + self::LIGHT_DITHER, |
| 79 | + self::MEDIUM_DITHER, |
| 80 | + self::DARK_DITHER, |
| 81 | + ]; |
| 82 | + } |
| 83 | +} |
| 84 | + |
| 85 | + |
0 commit comments