CartoType Android API 8.8-7-gb35e4dc71
for Java development on Android
Public Attributes | Static Public Attributes | List of all members
com.cartotype.PathPoint Class Reference

Public Attributes

double x
 
double y
 
int type
 

Static Public Attributes

static final int ON_CURVE_TYPE = 0
 
static final int QUADRATIC_TYPE = 1
 
static final int CUBIC_TYPE = 2
 

Detailed Description

A point on a path. It may be on the curve, or an off-curve control point for a Bezier spline curve.

Member Data Documentation

◆ CUBIC_TYPE

final int com.cartotype.PathPoint.CUBIC_TYPE = 2
static

A control point for a cubic Bezier spline curve.

◆ ON_CURVE_TYPE

final int com.cartotype.PathPoint.ON_CURVE_TYPE = 0
static

A type for a point on the curve.

◆ QUADRATIC_TYPE

final int com.cartotype.PathPoint.QUADRATIC_TYPE = 1
static

A control point for a quadratic (conic) Bezier spline curve.

◆ type

int com.cartotype.PathPoint.type

The point type: one of the constants ON_CURVE_TYPE, QUADRATIC_TYPE, or CUBIC_TYPE.

◆ x

double com.cartotype.PathPoint.x

The X coordinate of the point.

◆ y

double com.cartotype.PathPoint.y

The Y coordinate of the point.


The documentation for this class was generated from the following file: