public class Circle extends Object implements Shape
Constructor and Description |
---|
Circle(double centerX,
double centerY,
double radius)
|
Circle(Point center,
Distance radius)
|
Circle(Point center,
double radius)
|
public Circle(Point center, Distance radius)
center
- must not be null.radius
- must not be null and it's value greater or equal to zero.public Circle(Point center, double radius)
center
- must not be null.radius's
- value must be greater or equal to zero.public Circle(double centerX, double centerY, double radius)
centerX
- centerY
- radius
- must be greater or equal to zero.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.