패키지 | mx.utils |
클래스 | public class GraphicsUtil |
상속 | GraphicsUtil Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
GraphicsUtil.drawRoundRectComplex()
method.
메서드 | 정의 주체 | ||
---|---|---|---|
drawRoundRectComplex(graphics:Graphics, x:Number, y:Number, width:Number, height:Number, topLeftRadius:Number, topRightRadius:Number, bottomLeftRadius:Number, bottomRightRadius:Number):void [정적]
Draws a rounded rectangle using the size of a radius to draw the rounded corners. | GraphicsUtil | ||
drawRoundRectComplex2(graphics:Graphics, x:Number, y:Number, width:Number, height:Number, radiusX:Number, radiusY:Number, topLeftRadiusX:Number, topLeftRadiusY:Number, topRightRadiusX:Number, topRightRadiusY:Number, bottomLeftRadiusX:Number, bottomLeftRadiusY:Number, bottomRightRadiusX:Number, bottomRightRadiusY:Number):void [정적]
Draws a rounded rectangle using the size of individual x and y radii to
draw the rounded corners. | GraphicsUtil | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
drawRoundRectComplex | () | 메서드 |
public static function drawRoundRectComplex(graphics:Graphics, x:Number, y:Number, width:Number, height:Number, topLeftRadius:Number, topRightRadius:Number, bottomLeftRadius:Number, bottomRightRadius:Number):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Draws a rounded rectangle using the size of a radius to draw the rounded corners.
You must set the line style, fill, or both
on the Graphics object before
you call the drawRoundRectComplex()
method
by calling the linestyle()
,
lineGradientStyle()
, beginFill()
,
beginGradientFill()
, or
beginBitmapFill()
method.
매개 변수
graphics:Graphics — The Graphics object that draws the rounded rectangle.
| |
x:Number — The horizontal position relative to the
registration point of the parent display object, in pixels.
| |
y:Number — The vertical position relative to the
registration point of the parent display object, in pixels.
| |
width:Number — The width of the round rectangle, in pixels.
| |
height:Number — The height of the round rectangle, in pixels.
| |
topLeftRadius:Number — The radius of the upper-left corner, in pixels.
| |
topRightRadius:Number — The radius of the upper-right corner, in pixels.
| |
bottomLeftRadius:Number — The radius of the bottom-left corner, in pixels.
| |
bottomRightRadius:Number — The radius of the bottom-right corner, in pixels.
|
drawRoundRectComplex2 | () | 메서드 |
public static function drawRoundRectComplex2(graphics:Graphics, x:Number, y:Number, width:Number, height:Number, radiusX:Number, radiusY:Number, topLeftRadiusX:Number, topLeftRadiusY:Number, topRightRadiusX:Number, topRightRadiusY:Number, bottomLeftRadiusX:Number, bottomLeftRadiusY:Number, bottomRightRadiusX:Number, bottomRightRadiusY:Number):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Draws a rounded rectangle using the size of individual x and y radii to
draw the rounded corners.
You must set the line style, fill, or both
on the Graphics object before
you call the drawRoundRectComplex2()
method
by calling the linestyle()
,
lineGradientStyle()
, beginFill()
,
beginGradientFill()
, or
beginBitmapFill()
method.
매개 변수
graphics:Graphics — The Graphics object that draws the rounded rectangle.
| |
x:Number — The horizontal position relative to the
registration point of the parent display object, in pixels.
| |
y:Number — The vertical position relative to the
registration point of the parent display object, in pixels.
| |
width:Number — The width of the round rectangle, in pixels.
| |
height:Number — The height of the round rectangle, in pixels.
| |
radiusX:Number — The default radiusX to use, if corner-specific values are not specified.
This value must be specified.
| |
radiusY:Number — The default radiusY to use, if corner-specific values are not specified.
If 0, the value of radiusX is used.
| |
topLeftRadiusX:Number — The x radius of the upper-left corner, in pixels. If NaN,
the value of radiusX is used.
| |
topLeftRadiusY:Number — The y radius of the upper-left corner, in pixels. If NaN,
the value of topLeftRadiusX is used.
| |
topRightRadiusX:Number — The x radius of the upper-right corner, in pixels. If NaN,
the value of radiusX is used.
| |
topRightRadiusY:Number — The y radius of the upper-right corner, in pixels. If NaN,
the value of topRightRadiusX is used.
| |
bottomLeftRadiusX:Number — The x radius of the bottom-left corner, in pixels. If NaN,
the value of radiusX is used.
| |
bottomLeftRadiusY:Number — The y radius of the bottom-left corner, in pixels. If NaN,
the value of bottomLeftRadiusX is used.
| |
bottomRightRadiusX:Number — The x radius of the bottom-right corner, in pixels. If NaN,
the value of radiusX is used.
| |
bottomRightRadiusY:Number — The y radius of the bottom-right corner, in pixels. If NaN,
the value of bottomRightRadiusX is used.
|
Tue Jun 12 2018, 03:17 PM Z