public class Coords
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Field and Description |
---|---|
static DatumFunction<Double> |
X_ACCESSOR
Convenient
DatumFunction that return the x component of a
Coords datum. |
static DatumFunction<Double> |
Y_ACCESSOR
Convenient
DatumFunction that return the y component of a
Coords datum. |
Modifier | Constructor and Description |
---|---|
protected |
Coords() |
Modifier and Type | Method and Description |
---|---|
static Coords |
create(double x,
double y) |
String |
toCommaSeparatedString() |
double |
x() |
Coords |
x(double x)
set the x coords
|
double |
y() |
Coords |
y(double y)
set the y coords
|
public static final DatumFunction<Double> X_ACCESSOR
DatumFunction
that return the x component of a
Coords
datum.public static final DatumFunction<Double> Y_ACCESSOR
DatumFunction
that return the y component of a
Coords
datum.public static final Coords create(double x, double y)
public final double x()
public final double y()
public final Coords x(double x)
public final Coords y(double y)
y
- public final String toCommaSeparatedString()
Copyright © 2015 gwt-d3. All rights reserved.