public class TransformOrigin extends Object implements HasCSSName
Modifier and Type | Class and Description |
---|---|
static class |
TransformOrigin.XOffsetKeyword |
static class |
TransformOrigin.YOffsetKeyword |
Modifier and Type | Field and Description |
---|---|
static TransformOrigin |
CENTER |
static TransformOrigin |
INHERIT |
static TransformOrigin |
INITIAL |
static TransformOrigin |
UNSET |
Constructor and Description |
---|
TransformOrigin(double value,
Unit unit)
Only one value is specified and that value is used for both the horizontal
and vertical axes.
|
TransformOrigin(double xOffset,
Unit xOffsetUnit,
double yOffset,
Unit yOffsetUnit)
zOffset is assumed to be 0px.
|
TransformOrigin(double xOffset,
Unit xOffsetUnit,
double yOffset,
Unit yOffsetUnit,
double zOffset,
Unit zOffsetUnit) |
TransformOrigin(double yOffset,
Unit yOffsetUnit,
TransformOrigin.XOffsetKeyword xOffsetKeyword)
zOffset is assumed to be 0px.
|
TransformOrigin(double yOffset,
Unit yOffsetUnit,
TransformOrigin.XOffsetKeyword xOffsetKeyword,
double zOffset,
Unit zOffsetUnit) |
TransformOrigin(double xOffset,
Unit xOffsetUnit,
TransformOrigin.YOffsetKeyword yOffsetKeyword)
zOffset is assumed to be 0px.
|
TransformOrigin(double xOffset,
Unit xOffsetUnit,
TransformOrigin.YOffsetKeyword yOffsetKeyword,
double zOffset,
Unit zOffsetUnit) |
TransformOrigin(TransformOrigin.XOffsetKeyword xOffsetKeyword)
Only xOffsetKeyword, yOffsetKeyword is assumed to be center and zOffset is
assumed to be 0px.
|
TransformOrigin(TransformOrigin.XOffsetKeyword xOffsetKeyword,
double yOffset,
Unit yOffsetUnit)
zOffset is assumed to be 0px.
|
TransformOrigin(TransformOrigin.XOffsetKeyword xOffsetKeyword,
double yOffset,
Unit yOffsetUnit,
double zOffset,
Unit zOffsetUnit) |
TransformOrigin(TransformOrigin.XOffsetKeyword xOffsetKeyword,
TransformOrigin.YOffsetKeyword yOffsetKeyword)
zOffset is assumed to be 0px.
|
TransformOrigin(TransformOrigin.XOffsetKeyword xOffsetKeyword,
TransformOrigin.YOffsetKeyword yOffsetKeyword,
double zOffset,
Unit zOffsetUnit) |
TransformOrigin(TransformOrigin.YOffsetKeyword yOffsetKeyword)
Only yOffsetKeyword, xOffsetKeyword is assumed to be center and zOffset is
assumed to be 0px.
|
TransformOrigin(TransformOrigin.YOffsetKeyword yOffsetKeyword,
double xOffset,
Unit xOffsetUnit)
zOffset is assumed to be 0px.
|
TransformOrigin(TransformOrigin.YOffsetKeyword yOffsetKeyword,
double xOffset,
Unit xOffsetUnit,
double zOffset,
Unit zOffsetUnit) |
TransformOrigin(TransformOrigin.YOffsetKeyword yOffsetKeyword,
TransformOrigin.XOffsetKeyword xOffsetKeyword)
zOffset is assumed to be 0px.
|
TransformOrigin(TransformOrigin.YOffsetKeyword yOffsetKeyword,
TransformOrigin.XOffsetKeyword xOffsetKeyword,
double zOffset,
Unit zOffsetUnit) |
Modifier and Type | Method and Description |
---|---|
String |
css() |
static TransformOrigin |
getDefault() |
public static final TransformOrigin CENTER
public static final TransformOrigin INHERIT
public static final TransformOrigin INITIAL
public static final TransformOrigin UNSET
public TransformOrigin(double value, @NotNull Unit unit)
value
- unit
- public TransformOrigin(@NotNull TransformOrigin.XOffsetKeyword xOffsetKeyword)
xOffsetKeyword
- public TransformOrigin(@NotNull TransformOrigin.YOffsetKeyword yOffsetKeyword)
yOffsetKeyword
- public TransformOrigin(double xOffset, @NotNull Unit xOffsetUnit, double yOffset, @NotNull Unit yOffsetUnit)
xOffset
- xOffsetUnit
- yOffset
- yOffsetUnit
- public TransformOrigin(double xOffset, @NotNull Unit xOffsetUnit, @NotNull TransformOrigin.YOffsetKeyword yOffsetKeyword)
xOffset
- xOffsetUnit
- yOffsetKeyword
- public TransformOrigin(@NotNull TransformOrigin.YOffsetKeyword yOffsetKeyword, double xOffset, @NotNull Unit xOffsetUnit)
yOffsetKeyword
- xOffset
- xOffsetUnit
- public TransformOrigin(double yOffset, @NotNull Unit yOffsetUnit, @NotNull TransformOrigin.XOffsetKeyword xOffsetKeyword)
yOffset
- yOffsetUnit
- xOffsetKeyword
- public TransformOrigin(@NotNull TransformOrigin.XOffsetKeyword xOffsetKeyword, double yOffset, @NotNull Unit yOffsetUnit)
xOffsetKeyword
- yOffset
- yOffsetUnit
- public TransformOrigin(@NotNull TransformOrigin.XOffsetKeyword xOffsetKeyword, @NotNull TransformOrigin.YOffsetKeyword yOffsetKeyword)
xOffsetKeyword
- yOffsetKeyword
- public TransformOrigin(@NotNull TransformOrigin.YOffsetKeyword yOffsetKeyword, @NotNull TransformOrigin.XOffsetKeyword xOffsetKeyword)
yOffsetKeyword
- xOffsetKeyword
- public TransformOrigin(double xOffset, @NotNull Unit xOffsetUnit, double yOffset, @NotNull Unit yOffsetUnit, double zOffset, @NotNull Unit zOffsetUnit)
xOffset
- xOffsetUnit
- yOffset
- yOffsetUnit
- zOffset
- zOffsetUnit
- public TransformOrigin(double xOffset, @NotNull Unit xOffsetUnit, @NotNull TransformOrigin.YOffsetKeyword yOffsetKeyword, double zOffset, @NotNull Unit zOffsetUnit)
xOffset
- xOffsetUnit
- yOffsetKeyword
- zOffset
- zOffsetUnit
- public TransformOrigin(@NotNull TransformOrigin.YOffsetKeyword yOffsetKeyword, double xOffset, @NotNull Unit xOffsetUnit, double zOffset, @NotNull Unit zOffsetUnit)
yOffsetKeyword
- xOffset
- xOffsetUnit
- zOffset
- zOffsetUnit
- public TransformOrigin(double yOffset, @NotNull Unit yOffsetUnit, @NotNull TransformOrigin.XOffsetKeyword xOffsetKeyword, double zOffset, @NotNull Unit zOffsetUnit)
yOffset
- yOffsetUnit
- xOffsetKeyword
- zOffset
- zOffsetUnit
- public TransformOrigin(@NotNull TransformOrigin.XOffsetKeyword xOffsetKeyword, double yOffset, @NotNull Unit yOffsetUnit, double zOffset, @NotNull Unit zOffsetUnit)
xOffsetKeyword
- yOffset
- yOffsetUnit
- zOffset
- zOffsetUnit
- public TransformOrigin(@NotNull TransformOrigin.XOffsetKeyword xOffsetKeyword, @NotNull TransformOrigin.YOffsetKeyword yOffsetKeyword, double zOffset, @NotNull Unit zOffsetUnit)
xOffsetKeyword
- yOffsetKeyword
- zOffset
- zOffsetUnit
- public TransformOrigin(@NotNull TransformOrigin.YOffsetKeyword yOffsetKeyword, @NotNull TransformOrigin.XOffsetKeyword xOffsetKeyword, double zOffset, @NotNull Unit zOffsetUnit)
yOffsetKeyword
- xOffsetKeyword
- zOffset
- zOffsetUnit
- public static TransformOrigin getDefault()
public String css()
css
in interface HasCSSName
Copyright © 2018 Xalys. All rights reserved.