phpDocumentor php-ui-winbinder
[ class tree: php-ui-winbinder ] [ index: php-ui-winbinder ] [ all elements ]

Class: WBGraphics

Source Location: /php/ui/winbinder/WBGraphics.php

Class WBGraphics

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From PObject

PObject::__construct()
»ý¼ºÀÚ
PObject::display()
°´Ã¼ ¹®ÀÚ¿­À» Ãâ·Â
PObject::equals()
°´Ã¼ ºñ±³ (¼öÁ¤ ÇÊ¿ä)
PObject::getClass()
PObject::getObjValue()
°´Ã¼ÀÎÁö ¾Æ´ÑÁö ÆÇº°Çؼ­ PObject Çü °´Ã¼À̸é toString() ¸Þ¼Òµå·Î ¹®ÀÚ¿­À» ¹ÝȯÇϰí ÀÏ´Ü ÀÚ·áÇüÀÌ¸é ±× ÇüÅ ±×´ë·Î ¸®ÅÏÇÑ´Ù
PObject::isObject()
°´Ã¼ È®ÀÎ
PObject::toString()
°´Ã¼ ¹®ÀÚ¿­·Î º¯È¯
PObject::__toString()
magic methods Ãß°¡ , toString() ÀÇ °ªÀ» ±×´ë·Î ¸®ÅÏÇÑ´Ù.

[ Top ]
Method Summary
void   ellipse()   target¿¡ ellipse(Ÿ¿ø) À» ±×¸²
void   getPixel()   ¼±ÅÃÇÑ ¿µ¿ªÀÇ pixelÀÇ color °ª ¾ò¾î¿À±â
void   image()   target¿¡ bitmap µ¥ÀÌŸ¸¦ ±×¸²
void   line()   target¿¡ lineÀ» ±×¸²
WBGraphics   __construct()  
void   rect()   target¿¡ rect(»ç°¢Çü) À» ±×¸²
void   setPixel()   ¼±ÅÃÇÑ ¿µ¿ªÀÇ pixelÀÇ color ¼³Á¤ Çϱâ
void   text()   text¸¦ ±×¸²

[ Top ]
Methods
ellipse  [line 79]

  void ellipse( $x, $y, $width, $height, $color, [ $filled = false], [ $lineWidth = 1], [ $lineStyle = WBGraphics::LINE_SOLID]  )

target¿¡ ellipse(Ÿ¿ø) À» ±×¸²

Parameters:
   $x: 
   $y: 
   $width: 
   $height: 
   $color: 
   $filled: 
   $lineWidth: 
   $lineStyle: 

API Tags:
Access:  public


[ Top ]
getPixel  [line 88]

  void getPixel( $x, $y  )

¼±ÅÃÇÑ ¿µ¿ªÀÇ pixelÀÇ color °ª ¾ò¾î¿À±â

Parameters:
   $x: 
   $y: 

API Tags:
Access:  public


[ Top ]
image  [line 52]

  void image( mixed $bitmap, [int $x = 0], [int $y = 0], [int $width = 0], [int $height = 0], [int $transparentcolor = NOCOLOR]  )

target¿¡ bitmap µ¥ÀÌŸ¸¦ ±×¸²

Parameters:
mixed   $bitmap: 
int   $x: 
int   $y: 
int   $width: 
int   $height: 
int   $transparentcolor:  Åõ¸íµµ

API Tags:
Access:  public


[ Top ]
line  [line 61]

  void line( $x0, $y0, $x1, $y1, $color, [ $lineWidth = 1], [ $lineStyle = WBGraphics::LINE_SOLID]  )

target¿¡ lineÀ» ±×¸²

Parameters:
   $x0: 
   $y0: 
   $x1: 
   $y1: 
   $color: 
   $lineWidth: 
   $lineStyle: 

API Tags:
Access:  public


[ Top ]
Constructor __construct  [line 38]

  WBGraphics __construct( $buffer  )

Parameters:
   $buffer: 

API Tags:
Access:  public


Redefinition of:
PObject::__construct()
»ý¼ºÀÚ

[ Top ]
rect  [line 70]

  void rect( $x, $y, $width, $height, $color, [ $filled = false], [ $lineWidth = 1], [ $lineStyle = WBGraphics::LINE_SOLID]  )

target¿¡ rect(»ç°¢Çü) À» ±×¸²

Parameters:
   $x: 
   $y: 
   $width: 
   $height: 
   $color: 
   $filled: 
   $lineWidth: 
   $lineStyle: 

API Tags:
Access:  public


[ Top ]
setPixel  [line 97]

  void setPixel( $x, $y, $color  )

¼±ÅÃÇÑ ¿µ¿ªÀÇ pixelÀÇ color ¼³Á¤ Çϱâ

Parameters:
   $x: 
   $y: 
   $color: 

API Tags:
Access:  public


[ Top ]
text  [line 117]

  void text( $text, $x, $y  )

text¸¦ ±×¸²

  1.  //flags °ü·Ã »ó¼ö
  2.  
  3.  WBC_LEFT
  4.  WBC_CENTER
  5.  WBC_RIGHT
  6.  WBC_TOP
  7.  WBC_MIDDLE
  8.  WBC_BOTTOM
  9.  WBC_MULTILINE
  10.  WBC_ELLIPSIS

Parameters:
   $text: 
   $x: 
   $y: 

API Tags:
Access:  public


[ Top ]
Constants
ELLIPSIS = WBC_ELLIPSIS [line 36]

[ Top ]
LINE_DASHES_2 = 2 [line 19]

[ Top ]
LINE_DASHES_3 = 3 [line 20]

[ Top ]
LINE_DASHES_4 = 4 [line 21]

[ Top ]
LINE_DASHES_5 = 5 [line 22]

[ Top ]
LINE_DASHES_6 = 6 [line 23]

[ Top ]
LINE_DASHES_7 = 7 [line 24]

[ Top ]
LINE_DASHES_DOTS = 8 [line 25]

[ Top ]
LINE_DASHES_DOUBLE_DOTS = 9 [line 26]

[ Top ]
LINE_DOTTED = 1 [line 18]

[ Top ]
LINE_SOLID = 0 [line 17]

[ Top ]
MULTILINE = WBC_MULTILINE [line 35]

[ Top ]
POS_BOTTOM = WBC_BOTTOM [line 33]

[ Top ]
POS_CENTER = WBC_CENTER [line 29]

[ Top ]
POS_LEFT = WBC_LEFT [line 28]

[ Top ]
POS_MIDDLE = WBC_MIDDLE [line 32]

[ Top ]
POS_RIGHT = WBC_RIGHT [line 30]

[ Top ]
POS_TOP = WBC_TOP [line 31]

[ Top ]

Documentation generated on Wed, 09 Dec 2009 10:48:52 +0900 by phpDocumentor 1.4.3