public abstract class Shape extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Shape.Type
Enum describing the type of a shape
|
| Constructor and Description |
|---|
Shape() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Needs to be called when the shape is no longer used, e.g.
|
int |
getChildCount()
Get the number of child primitives.
|
float |
getRadius()
Returns the radius of this shape
|
abstract Shape.Type |
getType()
Get the type of this shape.
|
void |
setRadius(float radius)
Sets the radius of this shape
|
public abstract Shape.Type getType()
public float getRadius()
public void setRadius(float radius)
public void dispose()
public int getChildCount()
Copyright © 2016. All rights reserved.