This page was saved using jaction on 2006-09-04 8:33:43.
Address: http://flexdocs.kr/docs/flex2/langref/mx/utils/GraphicsUtil.html
Title: mx.utils.GraphicsUtil (Flex™ 2 레퍼런스 가이드)  •  Size: 20435
Packagemx.utils
Classpublic class GraphicsUtil
InheritanceGraphicsUtil Inheritance Object

Graphics 클래스는, 이 클래스에 관련하는 유틸리티 Methods를 가지는 완전하게 정적인 클래스입니다. GraphicsUtil 의 인스턴스를 작성할 필요는 없고,GraphicsUtil.drawRoundRectComplex() Methods등의 Methods를 호출할 뿐입니다.



Public property
 property정의
 Inheritedconstructor : Object
특정의 object 인스턴스의 클래스 object 또는 constructor    함수에의 참조입니다.
Object
 Inheritedprototype : Object
[static] 클래스 또는 함수 object의 prototype object에의 참조입니다.
Object
Public Methods
 Methods정의
  drawRoundRectComplex (graphics:Graphics , x:Number , y:Number , width:Number , height:Number , topLeftRadius:Number , topRightRadius:Number , bottomLeftRadius:Number , bottomRightRadius:Number ):void
[static] 환각의 묘화에 반경의 크기를 사용해 각환구형을 묘화 합니다.
GraphicsUtil
 InheritedhasOwnProperty (name:String ):Boolean
object로 지정된 property가 정의되고 있는지 어떤지를 나타냅니다.
Object
 InheritedisPrototypeOf (theClass:Object ):Boolean
Object 클래스의 인스턴스가, Parameters로서 지정된 object의 prototype 체인내에 있을지 어떨지를 나타냅니다.
Object
 InheritedpropertyIsEnumerable (name:String ):Boolean
지정된 property가 존재해, 열거 가능한가 어떤가를 나타냅니다.
Object
 InheritedsetPropertyIsEnumerable (name:String , isEnum:Boolean = true):void
루프 처리에 대한 다이나믹 property의 가용성을 설정합니다.
Object
 InheritedtoString ():String
지정된 object의 string 표현을 돌려줍니다.
Object
 InheritedvalueOf ():Object
지정된 object의 원시적치를 돌려줍니다.
Object
Methods의 상세
drawRoundRectComplex()Methods
public static function drawRoundRectComplex(graphics:Graphics , x:Number , y:Number , width:Number , height:Number , topLeftRadius:Number , topRightRadius:Number , bottomLeftRadius:Number , bottomRightRadius:Number ):void

환각의 묘화에 반경의 크기를 사용해 각환구형을 묘화 합니다. drawRoundRectComplex() Methods를 호출하기 전에,linestyle(),lineGradientStyle(),beginFill(),beginGradientFill(), 또는 beginBitmapFill() Methods를 호출해, 선의 스타일 또는 발라, 혹은 그 양쪽 모두를 Graphics object로 설정할 필요가 있습니다.

Parameters
graphics:Graphics — 각 환구형을 묘화 하는 Graphics object입니다.
 
x:Number — 친표시 object의 기준점으로부터의 상대적인 수평 좌표 (픽셀 단위).
 
y:Number — 친표시 object의 기준점으로부터의 상대적인 수직 좌표 (픽셀 단위).
 
width:Number — 각 환구형의 폭 (픽셀 단위).
 
height:Number — 각 환구형의 높이 (픽셀 단위).
 
topLeftRadius:Number — 좌상각의 반경 (픽셀 단위).
 
topRightRadius:Number — 우상각의 반경 (픽셀 단위).
 
bottomLeftRadius:Number — 좌하각의 반경 (픽셀 단위).
 
bottomRightRadius:Number — 우하각의 반경 (픽셀 단위).






 

코멘트가 추가되었을 경우, 메일로 받기. | 코멘트 리포트

현재의 페이지: http://flexdocs.kr/docs/flex2/langref/mx/utils/GraphicsUtil.html