12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- /************************************************************************
- * Enums.js
- ************************************************************************
- * Copyright (c) 2021 Pedro Tonini Rosenberg Schneider.
- *
- * This file is part of Pandora.
- *
- * Pandora is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Pandora is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Pandora. If not, see <https://www.gnu.org/licenses/>.
- *************************************************************************/
- const PROPERTY_TYPE = {
- NUMBER: 1,
- VECTOR2: 2,
- COLOR: 3,
- };
- const TRANS_TYPE = {
- LINEAR: 1,
- QUAD: 2,
- CUBIC: 3,
- QUART: 4,
- QUINT: 5,
- SINE: 6,
- EXPONENTIAL: 7,
- CIRCULAR: 8,
- ELASTIC: 9,
- BACK: 10,
- BOUNCE: 11,
- };
- const EASE_TYPE = {
- IN: 1,
- OUT: 2,
- IN_OUT: 3,
- };
- const SHAPES = {
- RECT: 1,
- ELLIPSE: 2,
- };
- const RENDER_MODES = {
- P2D: 1,
- WEBGL: 2,
- };
- const DEFAULT_STYLE = {
- "font-family": "Lato",
- "font-size": "12px",
- };
|