Java com.badlogic.gdx.math Circle fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.math Circle fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.math Circle.

The text is from its open source code.

Subclass

com.badlogic.gdx.math.Circle has subclasses.
Click this link to see all its subclasses.

Constructor

Circle()
Constructs a new circle with all values set to zero
Circle(Circle circle)
Copy constructor
Circle(float x, float y, float radius)
Constructs a new circle with the given X and Y coordinates and the given radius.

Method

booleancontains(float x, float y)
Checks whether or not this circle contains a given point.
booleancontains(Vector2 point)
Checks whether or not this circle contains a given point.
booleancontains(Circle c)
voidset(float x, float y, float radius)
Sets a new location and radius for this circle.
voidsetPosition(float x, float y)
Sets the x and y-coordinates of circle center