Point
defines a collection of vertices that are rendered as single points or textured sprites depending on PointType.
Point
.
@version 1.7
A geographic location defined by longitude, latitude, and (optional) altitude. When a Point is contained by a Placemark, the point itself determines the position of the Placemark's name and icon. When a Point is extruded, it is connected to the ground with a line. This "tether" uses the current LineStyle.
The
<Point id="ID"> <!-- specific to Point --> <extrude>0</extrude> <!-- boolean --> <altitudeMode>clampToGround</altitudeMode> <!-- kml:altitudeModeEnum: clampToGround, relativeToGround, or absolute --> <!-- or, substitute gx:altitudeMode: clampToSeaFloor, relativeToSeaFloor --> <coordinates>...</coordinates> <!-- lon,lat[,alt] --> </Point>
Extends:
@see : Point in multidimensional space with real coordinates. Represented as an array of double numbers.
All calculations in this class are performed in strictfp mode, so the result is absolutely identical on all platforms.
This class is immutable and thread-safe: there are no ways to modify settings of the created instance.
AlgART Laboratory 2007–2014
@author Daniel Alievsky @version 1.2 @since JDK 1.5 @see IPointPoint
class is, like the Color
class, a crappy extension of Java's built-in AWT functionality. The most important change is that this Point
class is set to final
, meaning that if the JVM is smart enough, it will run significantly faster than a non-final class. Also included are a couple of convenient methods, such as translate()
and scale
.
@author Greg
@see java.awt.Point
@see org.andrewberman.ui.UIUtils
@see org.andrewberman.ui.Color
Instances of this class are immutable. @author Adrian Kuhn
The following features are supported:
GWT client side implementation of a Point.
@author Pieter De Graef chart.addSeries(chart.createSeries() .setName("Browser share") .setPoints(new Point[] { new Point(15, 45.0), new Point(25, 26.8), new Point(35, 12.8), new Point(46, 8.5), new Point(55, 6.2), new Point(65, 0.7) }) );
Advanced pie chart example (where the points represent categories and values for each category): chart.addSeries(chart.createSeries() .setName("Browser share") .setPoints(new Point[]{ new Point("Firefox", 45.0), new Point("IE", 26.8), new Point("Chrome", 12.8) .setSliced(true) .setSelected(true), new Point("Safari", 8.5), new Point("Opera", 6.2), new Point("Others", 0.7) }) );
@author squinn@moxiegroup.com (Shawn Quinn)
@since 1.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|