001/* 002 * #%L 003 * GwtMaterial 004 * %% 005 * Copyright (C) 2015 - 2017 GwtMaterialDesign 006 * %% 007 * Licensed under the Apache License, Version 2.0 (the "License"); 008 * you may not use this file except in compliance with the License. 009 * You may obtain a copy of the License at 010 * 011 * http://www.apache.org/licenses/LICENSE-2.0 012 * 013 * Unless required by applicable law or agreed to in writing, software 014 * distributed under the License is distributed on an "AS IS" BASIS, 015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 016 * See the License for the specific language governing permissions and 017 * limitations under the License. 018 * #L% 019 */ 020package gwt.material.design.client.base; 021 022/** 023 * The transform property applies a 2D or 3D transformation to an element. 024 * This property allows you to rotate, scale, move, skew, etc., elements. 025 * 026 * @see <a href="https://www.w3schools.com/css/css3_3dtransforms.asp">CSS3 Transform</a> 027 * 028 * @author kevzlou7979 029 */ 030public interface HasTransform { 031 032 /** 033 * Applies a 2D or 3D transformation to an element 034 */ 035 void setTransform(String value); 036 037 String getTransform(); 038 039 /** 040 * Allows you to change the position on transformed elements 041 */ 042 void setTransformOrigin(String value); 043 044 String getTransformOrigin(); 045 046 /** 047 * Specifies how nested elements are rendered in 3D space 048 */ 049 void setTransformStyle(String value); 050 051 String getTransformStyle(); 052 053 /** 054 * Specifies the perspective on how 3D elements are viewed 055 */ 056 void setPerspective(String value); 057 058 String getPerspective(); 059 060 061 /** 062 * Specifies the bottom position of 3D elements 063 */ 064 void setPerspectiveOrigin(String value); 065 066 String getPerspectiveOrigin(); 067 068 /** 069 * Defines whether or not an element should be visible when not facing the screen 070 */ 071 void setBackfaceVisibility(String value); 072 073 String getBackfaceVisibility(); 074}