public class BackgroundPosition
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BackgroundPosition.TypeX
The background-position X property sets the starting position of a
background image
|
static class |
BackgroundPosition.TypeY
The background-position Y property sets the starting position of a
background image
|
Constructor and Description |
---|
BackgroundPosition() |
Modifier and Type | Method and Description |
---|---|
BackgroundPosition.TypeX |
getTypeX() |
BackgroundPosition.TypeY |
getTypeY() |
Length |
getX() |
Length |
getY() |
BackgroundPosition |
setTypeX(BackgroundPosition.TypeX typeX) |
BackgroundPosition |
setTypeY(BackgroundPosition.TypeY typeY) |
BackgroundPosition |
setX(Length x) |
BackgroundPosition |
setY(Length y) |
java.lang.String |
toString() |
public BackgroundPosition.TypeX getTypeX()
public BackgroundPosition setTypeX(BackgroundPosition.TypeX typeX)
typeX
- the typeX to setpublic BackgroundPosition.TypeY getTypeY()
public BackgroundPosition setTypeY(BackgroundPosition.TypeY typeY)
typeY
- the typeY to setpublic Length getX()
public BackgroundPosition setX(Length x)
x
- the x to setpublic Length getY()
public BackgroundPosition setY(Length y)
y
- the y to setpublic java.lang.String toString()
toString
in class java.lang.Object