|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
java.lang.Objectjava.awt.geom.Point2D
java.awt.geom.Point2D.Float
public static class Point2D.Float
Float Ŭ·¡½º´Â float Á¤¹Ðµµ·Î ÁöÁ¤µÈ Á¡À» Á¤ÀÇÇÕ´Ï´Ù.
| Áßø(Nested) Ŭ·¡½º °³¿ä |
|---|
| Ŭ·¡½º java.awt.geom. Point2D ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º |
|---|
Point2D.Double,
Point2D.Float |
| ÇÊµå °³¿ä | |
|---|---|
float |
x
ÀÌ Point2D
X ÁÂÇ¥ÀÔ´Ï´Ù. |
float |
y
ÀÌ Point2D
Y ÁÂÇ¥ÀÔ´Ï´Ù. |
| »ý¼ºÀÚ °³¿ä | |
|---|---|
Point2D.Float ()
ÁÂÇ¥ (0, 0)·Î Point2D¸¦ ±¸Ãà ¹× ÃʱâÈÇÕ´Ï´Ù. |
|
Point2D.Float (float x,
float y)
ÁöÁ¤µÈ ÁÂÇ¥·Î Point2D¸¦ ±¸Ãà ¹× ÃʱâÈÇÕ´Ï´Ù. |
|
| ¸Þ¼µå °³¿ä | |
|---|---|
double |
getX ()
ÀÌ Point2D
X ÁÂÇ¥¸¦ double Á¤¹Ðµµ·Î ¸®ÅÏÇÕ´Ï´Ù. |
double |
getY ()
ÀÌ Point2D
Y ÁÂÇ¥¸¦ double Á¤¹Ðµµ·Î ¸®ÅÏÇÕ´Ï´Ù. |
void |
setLocation (double x,
double y)
ÀÌ Point2D
À§Ä¡¸¦, ÁöÁ¤µÈ double ÇüÀÇ ÁÂÇ¥·Î ¼³Á¤ÇÕ´Ï´Ù. |
void |
setLocation (float x,
float y)
ÀÌ Point2D
À§Ä¡¸¦, ÁöÁ¤µÈ float ÇüÀÇ ÁÂÇ¥·Î ¼³Á¤ÇÕ´Ï´Ù. |
String |
toString ()
ÀÌ Point2D°ªÀ» ³ªÅ¸³»´Â String¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
| Ŭ·¡½º java.awt.geom. Point2D ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
|---|
clone,
distance,
distance,
distance,
distanceSq,
distanceSq,
distanceSq,
equals,
hashCode,
setLocation |
| Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
|---|
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| ÇʵåÀÇ »ó¼¼ |
|---|
public float x
Point2D
X ÁÂÇ¥ÀÔ´Ï´Ù.
public float y
Point2D
Y ÁÂÇ¥ÀÔ´Ï´Ù.
| »ý¼ºÀÚ »ó¼¼ |
|---|
public Point2D.Float()
Point2D¸¦ ±¸Ãà ¹× ÃʱâÈÇÕ´Ï´Ù.
public Point2D.Float(float x,
float y)
Point2D¸¦ ±¸Ãà ¹× ÃʱâÈÇÕ´Ï´Ù.
x, y - »õ·Ó°Ô ±¸ÃàµÇ´Â Point2D
ÁÂÇ¥| ¸Þ¼µåÀÇ »ó¼¼ |
|---|
public double getX()
Point2D
X ÁÂÇ¥¸¦ double Á¤¹Ðµµ·Î ¸®ÅÏÇÕ´Ï´Ù.
Point2D ³»ÀÇ getX Point2D
X ÁÂÇ¥public double getY()
Point2D
Y ÁÂÇ¥¸¦ double Á¤¹Ðµµ·Î ¸®ÅÏÇÕ´Ï´Ù.
Point2D ³»ÀÇ getY Point2D
Y ÁÂÇ¥
public void setLocation(double x,
double y)
Point2D
À§Ä¡¸¦, ÁöÁ¤µÈ double ÇüÀÇ ÁÂÇ¥·Î ¼³Á¤ÇÕ´Ï´Ù.
Point2D ³»ÀÇ setLocation x, y - ÀÌ Point2D
ÁÂÇ¥
public void setLocation(float x,
float y)
Point2D
À§Ä¡¸¦, ÁöÁ¤µÈ float ÇüÀÇ ÁÂÇ¥·Î ¼³Á¤ÇÕ´Ï´Ù.
x, y - ÀÌ Point2D
ÁÂÇ¥public String toString()
Point2D°ªÀ» ³ªÅ¸³»´Â String¸¦ ¸®ÅÏÇÕ´Ï´Ù.
Object ³»ÀÇ toString Point2D
ij¸¯ÅÍ ¶óÀΠǥÇö
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.