public class KmlUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_ID
the id attribute
|
static java.lang.String |
ATTR_NAME
the name attribute
|
static java.lang.String |
ATTR_X
the x attribute
|
static java.lang.String |
ATTR_XUNITS
the xunits attribute
|
static java.lang.String |
ATTR_Y
the y attribute
|
static java.lang.String |
ATTR_YUNITS
the yunits attribute
|
static java.lang.String |
TAG_ALTITUDE |
static java.lang.String |
TAG_ALTITUDEMODE |
static java.lang.String |
TAG_BALLOONSTYLE |
static java.lang.String |
TAG_BOTTOMFOV |
static java.lang.String |
TAG_CAMERA |
static java.lang.String |
TAG_COLOR |
static java.lang.String |
TAG_COLORMODE |
static java.lang.String |
TAG_COORDINATES |
static java.lang.String |
TAG_DESCRIPTION |
static java.lang.String |
TAG_DOCUMENT |
static java.lang.String |
TAG_EAST |
static java.lang.String |
TAG_EXTRUDE |
static java.lang.String |
TAG_FLYTO
the FlyTo tag
|
static java.lang.String |
TAG_FOLDER |
static java.lang.String |
TAG_GROUNDOVERLAY |
static java.lang.String |
TAG_HEADING |
static java.lang.String |
TAG_HREF |
static java.lang.String |
TAG_ICON |
static java.lang.String |
TAG_ICONSTYLE |
static java.lang.String |
TAG_KEY |
static java.lang.String |
TAG_KML |
static java.lang.String |
TAG_LABELSTYLE |
static java.lang.String |
TAG_LATITUDE |
static java.lang.String |
TAG_LATLONBOX |
static java.lang.String |
TAG_LEFTFOV |
static java.lang.String |
TAG_LINESTRING |
static java.lang.String |
TAG_LINESTYLE |
static java.lang.String |
TAG_LINK |
static java.lang.String |
TAG_LONGITUDE |
static java.lang.String |
TAG_LOOKAT |
static java.lang.String |
TAG_MULTIGEOMETRY |
static java.lang.String |
TAG_NAME |
static java.lang.String |
TAG_NEAR |
static java.lang.String |
TAG_NETWORKLINK |
static java.lang.String |
TAG_NORTH |
static java.lang.String |
TAG_OPEN |
static java.lang.String |
TAG_OVERLAYXY |
static java.lang.String |
TAG_PAIR |
static java.lang.String |
TAG_PHOTOOVERLAY |
static java.lang.String |
TAG_PLACEMARK |
static java.lang.String |
TAG_PLAYLIST
the Playlist tag
|
static java.lang.String |
TAG_POINT |
static java.lang.String |
TAG_RIGHTFOV |
static java.lang.String |
TAG_ROLL |
static java.lang.String |
TAG_ROTATION |
static java.lang.String |
TAG_SCALE |
static java.lang.String |
TAG_SCHEMA |
static java.lang.String |
TAG_SCREENOVERLAY |
static java.lang.String |
TAG_SCREENXY |
static java.lang.String |
TAG_SNIPPET |
static java.lang.String |
TAG_SOUTH |
static java.lang.String |
TAG_STYLE |
static java.lang.String |
TAG_STYLEMAP |
static java.lang.String |
TAG_STYLEURL |
static java.lang.String |
TAG_TESSELATE |
static java.lang.String |
TAG_TEXT |
static java.lang.String |
TAG_TILT |
static java.lang.String |
TAG_TIMESTAMP |
static java.lang.String |
TAG_TOPFOV |
static java.lang.String |
TAG_TOUR
the Tour tag
|
static java.lang.String |
TAG_URL |
static java.lang.String |
TAG_VIEWBOUNDSCALE |
static java.lang.String |
TAG_VIEWVOLUME |
static java.lang.String |
TAG_VISIBILITY |
static java.lang.String |
TAG_WAIT
the Wait tag
|
static java.lang.String |
TAG_WEST |
static java.lang.String |
TAG_WHEN |
static java.lang.String |
TAG_WIDTH |
static java.lang.String |
XMLNS_KML2_2
the KML 2.2 XML namespace
|
Constructor and Description |
---|
KmlUtil() |
Modifier and Type | Method and Description |
---|---|
static org.w3c.dom.Element |
balloonstyle(org.w3c.dom.Element parent,
java.lang.String text,
java.awt.Color bgColor)
Create a BalloonStyle element
|
static org.w3c.dom.Element |
balloonstyle(org.w3c.dom.Element parent,
java.lang.String id,
java.lang.String text,
java.awt.Color bgColor)
Create a BalloonStyle element wrapped in a Style element
|
static org.w3c.dom.Element |
coordinates(org.w3c.dom.Element parent,
java.lang.String coordinates)
Make a coordinates element
|
static org.w3c.dom.Element |
description(org.w3c.dom.Element parent,
java.lang.String description)
Make a description element (wrapped in a CDATA structure)
|
static org.w3c.dom.Element |
document(org.w3c.dom.Element parent,
java.lang.String name)
Make a KML Document
|
static org.w3c.dom.Element |
document(org.w3c.dom.Element parent,
java.lang.String name,
boolean visible)
Make a KML Document Element
|
static org.w3c.dom.Element |
folder(org.w3c.dom.Element parent,
java.lang.String name)
Create a Folder element
|
static org.w3c.dom.Element |
folder(org.w3c.dom.Element parent,
java.lang.String name,
boolean visible)
Create a Folder element
|
static org.w3c.dom.Element |
groundOverlay(org.w3c.dom.Element parent,
java.lang.String name,
java.lang.String description,
java.lang.String url,
double north,
double south,
double east,
double west)
Create a GroundOverlay element
|
static org.w3c.dom.Element |
groundOverlay(org.w3c.dom.Element parent,
java.lang.String name,
java.lang.String description,
java.lang.String url,
double north,
double south,
double east,
double west,
boolean visible)
Create a GroundOverlay element
|
static org.w3c.dom.Element |
iconstyle(org.w3c.dom.Element parent,
java.lang.String url,
double scale,
java.awt.Color color)
Create an IconStyle element
|
static org.w3c.dom.Element |
iconstyle(org.w3c.dom.Element parent,
java.lang.String id,
java.lang.String url)
Create an IconStyle element enclosed in a Style element
|
static org.w3c.dom.Element |
iconstyle(org.w3c.dom.Element parent,
java.lang.String id,
java.lang.String url,
double scale)
Create an IconStyle element enclosed in a Style element
|
static org.w3c.dom.Element |
iconstyle(org.w3c.dom.Element parent,
java.lang.String id,
java.lang.String url,
double scale,
java.awt.Color color)
Create an IconStyle element enclosed in a Style element
|
static org.w3c.dom.Element |
kml(java.lang.String name)
Make the kml element
|
static org.w3c.dom.Element |
labelstyle(org.w3c.dom.Element parent,
java.awt.Color color,
int scale)
Create a LabelStyle element
|
static org.w3c.dom.Element |
labelstyle(org.w3c.dom.Element parent,
java.lang.String id,
java.awt.Color color,
int scale)
Create a LabelStyle element enclosed in a Style Element
|
static org.w3c.dom.Element |
linestring(org.w3c.dom.Element parent,
boolean extrude,
boolean tesselate,
float[][] coords)
Create a LineString element
|
static org.w3c.dom.Element |
linestring(org.w3c.dom.Element parent,
boolean extrude,
boolean tesselate,
java.lang.String coordinates)
Create a LineString element
|
static org.w3c.dom.Element |
linestyle(org.w3c.dom.Element parent,
java.lang.String id,
java.awt.Color color,
int width)
Create a LineStyle element
|
static org.w3c.dom.Element |
makeElement(org.w3c.dom.Element parent,
java.lang.String tag)
Make a Kml element
|
static org.w3c.dom.Element |
makeText(org.w3c.dom.Element parent,
java.lang.String tag,
java.lang.String text)
Make a text node in the parent element
|
static org.w3c.dom.Element |
name(org.w3c.dom.Element parent,
java.lang.String name)
Make a name element (wrapped in a CDATA structure)
|
static org.w3c.dom.Element |
networkLink(org.w3c.dom.Element parent,
java.lang.String name,
java.lang.String url)
Make a NetworkLink element
|
static org.w3c.dom.Element |
open(org.w3c.dom.Element parent,
boolean open)
Set the open flag on an elemenet
|
static org.w3c.dom.Element |
pair(org.w3c.dom.Element parent,
java.lang.String key,
java.lang.String styleUrl)
Make a pair element
|
static double[][] |
parseCoordinates(java.lang.String coords)
Parse coordinates
|
static org.w3c.dom.Element |
placemark(org.w3c.dom.Element parent,
java.lang.String name,
java.lang.String description)
Create a Placemark
|
static org.w3c.dom.Element |
placemark(org.w3c.dom.Element parent,
java.lang.String name,
java.lang.String description,
double lat,
double lon,
double alt,
java.lang.String styleUrl)
Make a Placemark element
|
static org.w3c.dom.Element |
placemark(org.w3c.dom.Element parent,
java.lang.String name,
java.lang.String description,
double lat,
double lon,
double alt,
java.lang.String[] styleUrls,
boolean visible)
Make a Placemark element
|
static org.w3c.dom.Element |
placemark(org.w3c.dom.Element parent,
java.lang.String name,
java.lang.String description,
float[][] coords,
java.awt.Color color,
int width)
Make a Placemark with a Linestring
|
static java.lang.String |
point(double lat,
double lon,
double alt,
java.lang.String style)
Make a point Element string
|
static org.w3c.dom.Element |
screenoverlay(org.w3c.dom.Element parent,
java.lang.String name,
java.lang.String iconURL,
double overlayX,
double overlayY,
java.lang.String overlayXunits,
java.lang.String overlayYunits,
double screenX,
double screenY,
java.lang.String screenXunits,
java.lang.String screenYunits)
Create a ScreenOverlay Element
|
static org.w3c.dom.Element |
screenoverlay(org.w3c.dom.Element parent,
java.lang.String name,
java.lang.String iconURL,
double overlayX,
double overlayY,
java.lang.String overlayXunits,
java.lang.String overlayYunits,
double screenX,
double screenY,
java.lang.String screenXunits,
java.lang.String screenYunits,
double sizeX,
double sizeY,
java.lang.String sizeXunits,
java.lang.String sizeYunits)
Create a ScreenOverlay Element
|
static org.w3c.dom.Element |
snippet(org.w3c.dom.Element parent,
java.lang.String snippet)
Make a snippet Element
|
static org.w3c.dom.Element |
style(org.w3c.dom.Element parent,
java.lang.String id)
Make a Style element
|
static org.w3c.dom.Element |
stylemap(org.w3c.dom.Element parent,
java.lang.String id,
java.lang.String normalStyleUrl,
java.lang.String highlightStyleUrl)
Create a StyleMap for normal and highlighted styles
|
static org.w3c.dom.Element |
styleurl(org.w3c.dom.Element parent,
java.lang.String url)
Make a styleUrl element (why isn't the s capitalized?)
|
static org.w3c.dom.Element |
timestamp(org.w3c.dom.Element parent,
java.util.Date dttm)
Make a timestamp from the date
|
static java.lang.String |
toBGRHexString(java.awt.Color c)
Convert the given color to is string BGR hex representation.
|
static org.w3c.dom.Element |
visible(org.w3c.dom.Element parent,
boolean visible)
Set the visibility on an Element
|
public static final java.lang.String TAG_ALTITUDE
public static final java.lang.String TAG_ALTITUDEMODE
public static final java.lang.String TAG_BALLOONSTYLE
public static final java.lang.String TAG_BOTTOMFOV
public static final java.lang.String TAG_CAMERA
public static final java.lang.String TAG_COLOR
public static final java.lang.String TAG_COLORMODE
public static final java.lang.String TAG_COORDINATES
public static final java.lang.String TAG_DESCRIPTION
public static final java.lang.String TAG_DOCUMENT
public static final java.lang.String TAG_EAST
public static final java.lang.String TAG_EXTRUDE
public static final java.lang.String TAG_FOLDER
public static final java.lang.String TAG_GROUNDOVERLAY
public static final java.lang.String TAG_HEADING
public static final java.lang.String TAG_HREF
public static final java.lang.String TAG_ICON
public static final java.lang.String TAG_ICONSTYLE
public static final java.lang.String TAG_KEY
public static final java.lang.String TAG_KML
public static final java.lang.String TAG_LABELSTYLE
public static final java.lang.String TAG_LATITUDE
public static final java.lang.String TAG_LATLONBOX
public static final java.lang.String TAG_LEFTFOV
public static final java.lang.String TAG_LINESTRING
public static final java.lang.String TAG_LINESTYLE
public static final java.lang.String TAG_LINK
public static final java.lang.String TAG_LONGITUDE
public static final java.lang.String TAG_LOOKAT
public static final java.lang.String TAG_MULTIGEOMETRY
public static final java.lang.String TAG_NAME
public static final java.lang.String TAG_NEAR
public static final java.lang.String TAG_NETWORKLINK
public static final java.lang.String TAG_NORTH
public static final java.lang.String TAG_PHOTOOVERLAY
public static final java.lang.String TAG_OPEN
public static final java.lang.String TAG_OVERLAYXY
public static final java.lang.String TAG_PAIR
public static final java.lang.String TAG_PLACEMARK
public static final java.lang.String TAG_POINT
public static final java.lang.String TAG_RIGHTFOV
public static final java.lang.String TAG_ROLL
public static final java.lang.String TAG_ROTATION
public static final java.lang.String TAG_SCHEMA
public static final java.lang.String TAG_SCREENOVERLAY
public static final java.lang.String TAG_SCREENXY
public static final java.lang.String TAG_SNIPPET
public static final java.lang.String TAG_SOUTH
public static final java.lang.String TAG_STYLE
public static final java.lang.String TAG_STYLEMAP
public static final java.lang.String TAG_STYLEURL
public static final java.lang.String TAG_TESSELATE
public static final java.lang.String TAG_TEXT
public static final java.lang.String TAG_TILT
public static final java.lang.String TAG_TIMESTAMP
public static final java.lang.String TAG_TOPFOV
public static final java.lang.String TAG_URL
public static final java.lang.String TAG_VIEWVOLUME
public static final java.lang.String TAG_SCALE
public static final java.lang.String TAG_VIEWBOUNDSCALE
public static final java.lang.String TAG_VISIBILITY
public static final java.lang.String TAG_WEST
public static final java.lang.String TAG_WHEN
public static final java.lang.String TAG_WIDTH
public static final java.lang.String TAG_TOUR
public static final java.lang.String TAG_PLAYLIST
public static final java.lang.String TAG_FLYTO
public static final java.lang.String TAG_WAIT
public static final java.lang.String ATTR_ID
public static final java.lang.String ATTR_NAME
public static final java.lang.String ATTR_X
public static final java.lang.String ATTR_Y
public static final java.lang.String ATTR_XUNITS
public static final java.lang.String ATTR_YUNITS
public static final java.lang.String XMLNS_KML2_2
public static org.w3c.dom.Element makeElement(org.w3c.dom.Element parent, java.lang.String tag)
parent
- the parent elementtag
- the tag namepublic static org.w3c.dom.Element kml(java.lang.String name)
name
- the name of the element (not used)public static org.w3c.dom.Element document(org.w3c.dom.Element parent, java.lang.String name)
parent
- parent Elementname
- the name of the Documentpublic static org.w3c.dom.Element document(org.w3c.dom.Element parent, java.lang.String name, boolean visible)
parent
- the parent nodename
- the name of the documentvisible
- true if visiblepublic static org.w3c.dom.Element networkLink(org.w3c.dom.Element parent, java.lang.String name, java.lang.String url)
parent
- parent nodename
- name of the linkurl
- link URLpublic static org.w3c.dom.Element makeText(org.w3c.dom.Element parent, java.lang.String tag, java.lang.String text)
parent
- the parenttag
- the tagtext
- the textpublic static org.w3c.dom.Element visible(org.w3c.dom.Element parent, boolean visible)
parent
- the parent elementvisible
- true to be visiblepublic static org.w3c.dom.Element snippet(org.w3c.dom.Element parent, java.lang.String snippet)
parent
- the parentsnippet
- the snippet textpublic static org.w3c.dom.Element open(org.w3c.dom.Element parent, boolean open)
parent
- the parent nodeopen
- true to be openpublic static org.w3c.dom.Element timestamp(org.w3c.dom.Element parent, java.util.Date dttm)
parent
- the parent nodedttm
- the datepublic static org.w3c.dom.Element pair(org.w3c.dom.Element parent, java.lang.String key, java.lang.String styleUrl)
parent
- the parent elementkey
- the pair keystyleUrl
- the pair styleUrlpublic static org.w3c.dom.Element stylemap(org.w3c.dom.Element parent, java.lang.String id, java.lang.String normalStyleUrl, java.lang.String highlightStyleUrl)
parent
- the parent elementid
- the id of the StyleMapnormalStyleUrl
- the styleUrl of the normal stylehighlightStyleUrl
- the styleUrl of the highlighted stylepublic static org.w3c.dom.Element styleurl(org.w3c.dom.Element parent, java.lang.String url)
parent
- the parent elementurl
- the urlpublic static org.w3c.dom.Element style(org.w3c.dom.Element parent, java.lang.String id)
parent
- the parent nodeid
- the Style idpublic static org.w3c.dom.Element iconstyle(org.w3c.dom.Element parent, java.lang.String id, java.lang.String url)
parent
- the parent Elementid
- name of the enclosing Style elementurl
- the icon URLpublic static org.w3c.dom.Element iconstyle(org.w3c.dom.Element parent, java.lang.String id, java.lang.String url, double scale)
parent
- the parent Elementid
- name of the enclosing Style elementurl
- the icon URLscale
- the size scale (>= 0, 1 = normal size)public static org.w3c.dom.Element iconstyle(org.w3c.dom.Element parent, java.lang.String id, java.lang.String url, double scale, java.awt.Color color)
parent
- the parent Elementid
- name of the enclosing Style elementurl
- the icon URLscale
- the size scale (>= 0, 1 = normal size)color
- the icon colorpublic static org.w3c.dom.Element iconstyle(org.w3c.dom.Element parent, java.lang.String url, double scale, java.awt.Color color)
parent
- the parent (Style) Elementurl
- the icon URLscale
- the size scale (>= 0, 1 = normal size)color
- the icon colorpublic static org.w3c.dom.Element balloonstyle(org.w3c.dom.Element parent, java.lang.String text, java.awt.Color bgColor)
parent
- parent (Style) elementtext
- the balloon textbgColor
- the background colorpublic static org.w3c.dom.Element balloonstyle(org.w3c.dom.Element parent, java.lang.String id, java.lang.String text, java.awt.Color bgColor)
parent
- parent elementid
- of the enclosing Style elementtext
- the balloon textbgColor
- the background colorpublic static org.w3c.dom.Element labelstyle(org.w3c.dom.Element parent, java.lang.String id, java.awt.Color color, int scale)
parent
- The parent for the styleid
- the Style idcolor
- the label colorscale
- the label size scalepublic static org.w3c.dom.Element labelstyle(org.w3c.dom.Element parent, java.awt.Color color, int scale)
parent
- The parent (Style) elementcolor
- the label colorscale
- the label size scalepublic static org.w3c.dom.Element linestyle(org.w3c.dom.Element parent, java.lang.String id, java.awt.Color color, int width)
parent
- the parent nodeid
- the id for the enclosing Stylecolor
- line colorwidth
- line widthpublic static org.w3c.dom.Element linestring(org.w3c.dom.Element parent, boolean extrude, boolean tesselate, java.lang.String coordinates)
parent
- the parent nodeextrude
- true to extrudetesselate
- true to tesselatecoordinates
- comma separated list of coordinates (lon1,lat1,alt1,lon2,lat2,alt2,....lonN,latN,altN)public static org.w3c.dom.Element linestring(org.w3c.dom.Element parent, boolean extrude, boolean tesselate, float[][] coords)
parent
- the parent nodeextrude
- true to extrudetesselate
- true to tesselatecoords
- array of coordinates (coords[lon,lat] or coords[lon,lat,alt])public static org.w3c.dom.Element coordinates(org.w3c.dom.Element parent, java.lang.String coordinates)
parent
- the parent nodecoordinates
- the coordinates (comma separated values)public static org.w3c.dom.Element name(org.w3c.dom.Element parent, java.lang.String name)
parent
- the parent nodename
- the name textpublic static org.w3c.dom.Element description(org.w3c.dom.Element parent, java.lang.String description)
parent
- the parent nodedescription
- the descriptionpublic static org.w3c.dom.Element folder(org.w3c.dom.Element parent, java.lang.String name)
parent
- the parent nodename
- the name of the folderpublic static org.w3c.dom.Element folder(org.w3c.dom.Element parent, java.lang.String name, boolean visible)
parent
- the parent nodename
- the name of the foldervisible
- true to be visible. (all children must be not visible if you want the folder turned off)public static org.w3c.dom.Element placemark(org.w3c.dom.Element parent, java.lang.String name, java.lang.String description)
parent
- the parent nodename
- the name of the placemarkdescription
- the description of the placemarkpublic static java.lang.String point(double lat, double lon, double alt, java.lang.String style)
lat
- the point latitudelon
- the point longitudealt
- the point altitudestyle
- the point style (not used)public static org.w3c.dom.Element placemark(org.w3c.dom.Element parent, java.lang.String name, java.lang.String description, double lat, double lon, double alt, java.lang.String styleUrl)
parent
- the parent nodename
- the Placemark namedescription
- the Placemark descriptionlat
- the latitudelon
- the latitudealt
- the latitudestyleUrl
- the styleUrlpublic static org.w3c.dom.Element placemark(org.w3c.dom.Element parent, java.lang.String name, java.lang.String description, double lat, double lon, double alt, java.lang.String[] styleUrls, boolean visible)
parent
- the parent nodename
- the Placemark namedescription
- the Placemark descriptionlat
- the latitudelon
- the latitudealt
- the latitudestyleUrls
- the array styleUrlsvisible
- true for this to be showingpublic static org.w3c.dom.Element groundOverlay(org.w3c.dom.Element parent, java.lang.String name, java.lang.String description, java.lang.String url, double north, double south, double east, double west)
parent
- the parent nodename
- the name of the GroundOverlaydescription
- the description of the GroundOverlayurl
- the URL of the overlaynorth
- the north coordinatesouth
- the south coordinateeast
- the east coordinatewest
- the west coordinatepublic static org.w3c.dom.Element groundOverlay(org.w3c.dom.Element parent, java.lang.String name, java.lang.String description, java.lang.String url, double north, double south, double east, double west, boolean visible)
parent
- the parent nodename
- the name of the GroundOverlaydescription
- the description of the GroundOverlayurl
- the URL of the overlaynorth
- the north coordinatesouth
- the south coordinateeast
- the east coordinatewest
- the west coordinatepublic static org.w3c.dom.Element placemark(org.w3c.dom.Element parent, java.lang.String name, java.lang.String description, float[][] coords, java.awt.Color color, int width)
parent
- the parent nodename
- the name of the Placemarkdescription
- the description of the Placemarkcoords
- the line coordinatescolor
- the line colorwidth
- the line widthpublic static double[][] parseCoordinates(java.lang.String coords)
coords
- the string of space separated coordinatespublic static java.lang.String toBGRHexString(java.awt.Color c)
c
- colorpublic static org.w3c.dom.Element screenoverlay(org.w3c.dom.Element parent, java.lang.String name, java.lang.String iconURL, double overlayX, double overlayY, java.lang.String overlayXunits, java.lang.String overlayYunits, double screenX, double screenY, java.lang.String screenXunits, java.lang.String screenYunits)
parent
- parent Elementname
- the name of the elementiconURL
- the URL of the iconoverlayX
- x component of a point on the overlay imageoverlayY
- y component of a point on the overlay imageoverlayXunits
- units of overlayX, can be one of: fraction, pixels, or insetPixelsoverlayYunits
- units of overlayY, can be one of: fraction, pixels, or insetPixelsscreenX
- x component of a point on the screenscreenY
- y component of a point on the screenscreenXunits
- units of screenX, can be one of: fraction, pixels, or insetPixelsscreenYunits
- units of screenY, can be one of: fraction, pixels, or insetPixelspublic static org.w3c.dom.Element screenoverlay(org.w3c.dom.Element parent, java.lang.String name, java.lang.String iconURL, double overlayX, double overlayY, java.lang.String overlayXunits, java.lang.String overlayYunits, double screenX, double screenY, java.lang.String screenXunits, java.lang.String screenYunits, double sizeX, double sizeY, java.lang.String sizeXunits, java.lang.String sizeYunits)
parent
- parent Elementname
- the name of the elementiconURL
- the URL of the iconoverlayX
- x component of a point on the overlay imageoverlayY
- y component of a point on the overlay imageoverlayXunits
- units of overlayX, can be one of: fraction, pixels, or insetPixelsoverlayYunits
- units of overlayY, can be one of: fraction, pixels, or insetPixelsscreenX
- x component of a point on the screenscreenY
- y component of a point on the screenscreenXunits
- units of screenX, can be one of: fraction, pixels, or insetPixelsscreenYunits
- units of screenY, can be one of: fraction, pixels, or insetPixelssizeX
- the x size of the image for the screen overlay, as follows: 1 indicates to use the native dimension,
0 indicates to maintain the aspect ratio, a value of n sets the value of the dimensionsizeY
- the y size of the image for the screen overlay (see sizeX)sizeXunits
- units of sizeX, fraction or pixelssizeYunits
- units of sizeY, fraction or pixels