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

Class: WBDraw

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

Class WBDraw

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
static void   ellipse()   target에 ellipse(타원) 을 그림
static void   getPixel()   선택한 영역의 pixel의 color 값 얻어오기
static void   image()   target에 bitmap 데이타를 그림
static void   line()   target에 line을 그림
static void   rect()   target에 rect(사각형) 을 그림
static void   setPixel()   선택한 영역의 pixel의 color 설정 하기
static void   text()   text를 그림

[ Top ]
Methods
static method ellipse  [line 76]

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

target에 ellipse(타원) 을 그림

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

API Tags:
Access:  public


[ Top ]
static method getPixel  [line 85]

  static void getPixel( $source, $x, $y  )

선택한 영역의 pixel의 color 값 얻어오기

Parameters:
   $source: 
   $x: 
   $y: 

API Tags:
Access:  public


[ Top ]
static method image  [line 49]

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

target에 bitmap 데이타를 그림

Parameters:
mixed   $target: 
mixed   $bitmap: 
int   $x: 
int   $y: 
int   $width: 
int   $height: 
int   $transparentcolor:  투명도

API Tags:
Access:  public


[ Top ]
static method line  [line 58]

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

target에 line을 그림

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

API Tags:
Access:  public


[ Top ]
static method rect  [line 67]

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

target에 rect(사각형) 을 그림

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

API Tags:
Access:  public


[ Top ]
static method setPixel  [line 94]

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

선택한 영역의 pixel의 color 설정 하기

Parameters:
   $source: 
   $x: 
   $y: 
   $color: 

API Tags:
Access:  public


[ Top ]
static method text  [line 114]

  static void text( $target, $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:
   $target: 
   $text: 
   $x: 
   $y: 

API Tags:
Access:  public


[ Top ]
Constants
ELLIPSIS = WBC_ELLIPSIS [line 34]

[ Top ]
LINE_DASHES_2 = 2 [line 17]

[ Top ]
LINE_DASHES_3 = 3 [line 18]

[ Top ]
LINE_DASHES_4 = 4 [line 19]

[ Top ]
LINE_DASHES_5 = 5 [line 20]

[ Top ]
LINE_DASHES_6 = 6 [line 21]

[ Top ]
LINE_DASHES_7 = 7 [line 22]

[ Top ]
LINE_DASHES_DOTS = 8 [line 23]

[ Top ]
LINE_DASHES_DOUBLE_DOTS = 9 [line 24]

[ Top ]
LINE_DOTTED = 1 [line 16]

[ Top ]
LINE_SOLID = 0 [line 15]

[ Top ]
MULTILINE = WBC_MULTILINE [line 33]

[ Top ]
POS_BOTTOM = WBC_BOTTOM [line 31]

[ Top ]
POS_CENTER = WBC_CENTER [line 27]

[ Top ]
POS_LEFT = WBC_LEFT [line 26]

[ Top ]
POS_MIDDLE = WBC_MIDDLE [line 30]

[ Top ]
POS_RIGHT = WBC_RIGHT [line 28]

[ Top ]
POS_TOP = WBC_TOP [line 29]

[ Top ]

Documentation generated on Fri, 09 Apr 2010 11:57:43 +0900 by phpDocumentor 1.4.3