Java ellipse2d geom awt

Java ellipse2d geom awt

The Ellipse2D class describes an ellipse that is defined by a framing rectangle. This class is only the abstract superclass for all objects which store a 2D ellipse. The actual storage representation of the coordinates is left to the subclass.

Nested Class Summary

Constructor Summary

Method Summary

Tests if the specified coordinates are inside the boundary of the Shape , as described by the definition of insideness.

Methods inherited from class java.awt.geom.RectangularShape

Methods inherited from class java.lang.Object

Methods inherited from interface java.awt.Shape

Constructor Detail

Ellipse2D

This is an abstract class that cannot be instantiated directly. Type-specific implementation subclasses are available for instantiation and provide a number of formats for storing the information necessary to satisfy the various accessor methods below.

Читайте также:  All java variable types

Method Detail

contains

public boolean contains(double x, double y)

Tests if the specified coordinates are inside the boundary of the Shape , as described by the definition of insideness.

intersects

public boolean intersects(double x, double y, double w, double h)
  • there is a high probability that the rectangular area and the Shape intersect, but
  • the calculations to accurately determine this intersection are prohibitively expensive.

contains

public boolean contains(double x, double y, double w, double h)
  • the intersect method returns true and
  • the calculations to determine whether or not the Shape entirely contains the rectangular area are prohibitively expensive.

getPathIterator

public PathIterator getPathIterator(AffineTransform at)

Returns an iteration object that defines the boundary of this Ellipse2D . The iterator for this class is multi-threaded safe, which means that this Ellipse2D class guarantees that modifications to the geometry of this Ellipse2D object do not affect any iterations of that geometry that are already in process.

hashCode

equals

Determines whether or not the specified Object is equal to this Ellipse2D . The specified Object is equal to this Ellipse2D if it is an instance of Ellipse2D and if its location and size are the same as this Ellipse2D .

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Источник

Java ellipse2d geom awt

The Ellipse2D class describes an ellipse that is defined by a framing rectangle. This class is only the abstract superclass for all objects which store a 2D ellipse. The actual storage representation of the coordinates is left to the subclass.

Nested Class Summary

Constructor Summary

Method Summary

Tests if the specified coordinates are inside the boundary of the Shape , as described by the definition of insideness.

Methods inherited from class java.awt.geom.RectangularShape

Methods inherited from class java.lang.Object

Methods inherited from interface java.awt.Shape

Constructor Detail

Ellipse2D

This is an abstract class that cannot be instantiated directly. Type-specific implementation subclasses are available for instantiation and provide a number of formats for storing the information necessary to satisfy the various accessor methods below.

Method Detail

contains

public boolean contains(double x, double y)

Tests if the specified coordinates are inside the boundary of the Shape , as described by the definition of insideness.

intersects

public boolean intersects(double x, double y, double w, double h)
  • there is a high probability that the rectangular area and the Shape intersect, but
  • the calculations to accurately determine this intersection are prohibitively expensive.

contains

public boolean contains(double x, double y, double w, double h)
  • the intersect method returns true and
  • the calculations to determine whether or not the Shape entirely contains the rectangular area are prohibitively expensive.

getPathIterator

public PathIterator getPathIterator(AffineTransform at)

Returns an iteration object that defines the boundary of this Ellipse2D . The iterator for this class is multi-threaded safe, which means that this Ellipse2D class guarantees that modifications to the geometry of this Ellipse2D object do not affect any iterations of that geometry that are already in process.

hashCode

equals

Determines whether or not the specified Object is equal to this Ellipse2D . The specified Object is equal to this Ellipse2D if it is an instance of Ellipse2D and if its location and size are the same as this Ellipse2D .

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Источник

Class Ellipse2D

This class is only the abstract superclass for all objects which store a 2D ellipse. The actual storage representation of the coordinates is left to the subclass.

Nested Class Summary

Constructor Summary

Method Summary

Tests if the specified coordinates are inside the boundary of the Shape , as described by the definition of insideness.

Methods declared in class java.awt.geom.RectangularShape

Methods declared in class java.lang.Object

Methods declared in interface java.awt.Shape

Constructor Details

Ellipse2D

This is an abstract class that cannot be instantiated directly. Type-specific implementation subclasses are available for instantiation and provide a number of formats for storing the information necessary to satisfy the various accessor methods below.

Method Details

contains

Tests if the specified coordinates are inside the boundary of the Shape , as described by the definition of insideness.

intersects

  • there is a high probability that the rectangular area and the Shape intersect, but
  • the calculations to accurately determine this intersection are prohibitively expensive.

contains

  • the intersect method returns true and
  • the calculations to determine whether or not the Shape entirely contains the rectangular area are prohibitively expensive.

getPathIterator

Returns an iteration object that defines the boundary of this Ellipse2D . The iterator for this class is multi-threaded safe, which means that this Ellipse2D class guarantees that modifications to the geometry of this Ellipse2D object do not affect any iterations of that geometry that are already in process.

hashCode

equals

Determines whether or not the specified Object is equal to this Ellipse2D . The specified Object is equal to this Ellipse2D if it is an instance of Ellipse2D and if its location and size are the same as this Ellipse2D .

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2023, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.

Источник

Java ellipse2d geom awt

The Ellipse2D class describes an ellipse that is defined by a framing rectangle. This class is only the abstract superclass for all objects which store a 2D ellipse. The actual storage representation of the coordinates is left to the subclass.

Nested Class Summary

Constructor Summary

Method Summary

Tests if the specified coordinates are inside the boundary of the Shape , as described by the definition of insideness.

Methods inherited from class java.awt.geom.RectangularShape

Methods inherited from class java.lang.Object

Methods inherited from interface java.awt.Shape

Constructor Detail

Ellipse2D

This is an abstract class that cannot be instantiated directly. Type-specific implementation subclasses are available for instantiation and provide a number of formats for storing the information necessary to satisfy the various accessor methods below.

Method Detail

contains

public boolean contains(double x, double y)

Tests if the specified coordinates are inside the boundary of the Shape , as described by the definition of insideness.

intersects

public boolean intersects(double x, double y, double w, double h)
  • there is a high probability that the rectangular area and the Shape intersect, but
  • the calculations to accurately determine this intersection are prohibitively expensive.

contains

public boolean contains(double x, double y, double w, double h)
  • the intersect method returns true and
  • the calculations to determine whether or not the Shape entirely contains the rectangular area are prohibitively expensive.

getPathIterator

public PathIterator getPathIterator(AffineTransform at)

Returns an iteration object that defines the boundary of this Ellipse2D . The iterator for this class is multi-threaded safe, which means that this Ellipse2D class guarantees that modifications to the geometry of this Ellipse2D object do not affect any iterations of that geometry that are already in process.

hashCode

equals

Determines whether or not the specified Object is equal to this Ellipse2D . The specified Object is equal to this Ellipse2D if it is an instance of Ellipse2D and if its location and size are the same as this Ellipse2D .

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Источник

Оцените статью