Adobe® Flash® Platform용 ActionScript® 3.0 참조 설명서
 |  패키지 및 클래스 목록 숨기기 |  패키지  |  클래스  |  새로운 내용  |  색인  |  부록  |  영어로 표시되는 이유
필터: AIR 30.0 이하, Flash Player 30.0 이하, Flash Lite 4
Flex 4.6 이하, Flash Pro CS6 이하
필터 숨기기
spark.primitives.supportClasses 

GraphicElement  - AS3 Flex

패키지x

최상위 레벨
adobe.utils
air.desktop
air.net
air.update
air.update.events
coldfusion.air
coldfusion.air.errors
coldfusion.air.events
coldfusion.service
coldfusion.service.events
coldfusion.service.mxml
com.adobe.acm.solutions.authoring.domain.extensions
com.adobe.acm.solutions.ccr.domain.extensions
com.adobe.consulting.pst.vo
com.adobe.dct.component
com.adobe.dct.component.datadictionary
com.adobe.dct.component.datadictionaryElement
com.adobe.dct.component.dataElementsPanel
com.adobe.dct.component.toolbars
com.adobe.dct.event
com.adobe.dct.exp
com.adobe.dct.model
com.adobe.dct.service
com.adobe.dct.service.provider
com.adobe.dct.transfer
com.adobe.dct.util
com.adobe.dct.view
com.adobe.ep.taskmanagement.domain
com.adobe.ep.taskmanagement.event
com.adobe.ep.taskmanagement.filter
com.adobe.ep.taskmanagement.services
com.adobe.ep.taskmanagement.util
com.adobe.ep.ux.attachmentlist.component
com.adobe.ep.ux.attachmentlist.domain
com.adobe.ep.ux.attachmentlist.domain.events
com.adobe.ep.ux.attachmentlist.domain.renderers
com.adobe.ep.ux.attachmentlist.skin
com.adobe.ep.ux.attachmentlist.skin.renderers
com.adobe.ep.ux.content.event
com.adobe.ep.ux.content.factory
com.adobe.ep.ux.content.handlers
com.adobe.ep.ux.content.managers
com.adobe.ep.ux.content.model.asset
com.adobe.ep.ux.content.model.preview
com.adobe.ep.ux.content.model.relation
com.adobe.ep.ux.content.model.search
com.adobe.ep.ux.content.model.toolbar
com.adobe.ep.ux.content.search
com.adobe.ep.ux.content.services
com.adobe.ep.ux.content.services.load
com.adobe.ep.ux.content.services.permissions
com.adobe.ep.ux.content.services.preview
com.adobe.ep.ux.content.services.providers
com.adobe.ep.ux.content.services.query
com.adobe.ep.ux.content.services.relationships
com.adobe.ep.ux.content.services.search.lccontent
com.adobe.ep.ux.content.services.version
com.adobe.ep.ux.content.view
com.adobe.ep.ux.content.view.components.activate
com.adobe.ep.ux.content.view.components.grid
com.adobe.ep.ux.content.view.components.grid.hover
com.adobe.ep.ux.content.view.components.grid.hover.component
com.adobe.ep.ux.content.view.components.grid.renderers
com.adobe.ep.ux.content.view.components.relationships
com.adobe.ep.ux.content.view.components.review
com.adobe.ep.ux.content.view.components.search.renderers
com.adobe.ep.ux.content.view.components.searchpod
com.adobe.ep.ux.content.view.components.toolbar
com.adobe.ep.ux.content.view.components.toolbar.controlRenderers
com.adobe.ep.ux.content.view.components.version
com.adobe.ep.ux.documentsubmit.component
com.adobe.ep.ux.documentsubmit.domain
com.adobe.ep.ux.documentsubmit.skin
com.adobe.ep.ux.taskaction.component
com.adobe.ep.ux.taskaction.domain
com.adobe.ep.ux.taskaction.domain.events
com.adobe.ep.ux.taskaction.skin
com.adobe.ep.ux.taskdetails.component
com.adobe.ep.ux.taskdetails.domain
com.adobe.ep.ux.taskdetails.skin
com.adobe.ep.ux.tasklist.component
com.adobe.ep.ux.tasklist.domain
com.adobe.ep.ux.tasklist.skin
com.adobe.ep.ux.webdocumentviewer.domain
com.adobe.exm.expression
com.adobe.exm.expression.error
com.adobe.exm.expression.event
com.adobe.exm.expression.impl
com.adobe.fiber.runtime.lib
com.adobe.fiber.services
com.adobe.fiber.services.wrapper
com.adobe.fiber.styles
com.adobe.fiber.util
com.adobe.fiber.valueobjects
com.adobe.gravity.binding
com.adobe.gravity.context
com.adobe.gravity.flex.bundleloader
com.adobe.gravity.flex.progress
com.adobe.gravity.flex.serviceloader
com.adobe.gravity.framework
com.adobe.gravity.init
com.adobe.gravity.service.bundleloader
com.adobe.gravity.service.logging
com.adobe.gravity.service.manifest
com.adobe.gravity.service.progress
com.adobe.gravity.tracker
com.adobe.gravity.ui
com.adobe.gravity.utility
com.adobe.gravity.utility.async
com.adobe.gravity.utility.error
com.adobe.gravity.utility.events
com.adobe.gravity.utility.factory
com.adobe.gravity.utility.flex.async
com.adobe.gravity.utility.logging
com.adobe.gravity.utility.message
com.adobe.gravity.utility.sequence
com.adobe.gravity.utility.url
com.adobe.guides.control
com.adobe.guides.domain
com.adobe.guides.i18n
com.adobe.guides.spark.components.skins
com.adobe.guides.spark.components.skins.mx
com.adobe.guides.spark.headers.components
com.adobe.guides.spark.headers.skins
com.adobe.guides.spark.layouts.components
com.adobe.guides.spark.layouts.skins
com.adobe.guides.spark.navigators.components
com.adobe.guides.spark.navigators.renderers
com.adobe.guides.spark.navigators.skins
com.adobe.guides.spark.util
com.adobe.guides.spark.wrappers.components
com.adobe.guides.spark.wrappers.skins
com.adobe.guides.submit
com.adobe.icc.dc.domain
com.adobe.icc.dc.domain.factory
com.adobe.icc.editors.events
com.adobe.icc.editors.handlers
com.adobe.icc.editors.managers
com.adobe.icc.editors.model
com.adobe.icc.editors.model.config
com.adobe.icc.editors.model.el
com.adobe.icc.editors.model.el.operands
com.adobe.icc.editors.model.el.operators
com.adobe.icc.enum
com.adobe.icc.external.dc
com.adobe.icc.obj
com.adobe.icc.services
com.adobe.icc.services.category
com.adobe.icc.services.config
com.adobe.icc.services.download
com.adobe.icc.services.export
com.adobe.icc.services.external
com.adobe.icc.services.formbridge
com.adobe.icc.services.fragmentlayout
com.adobe.icc.services.layout
com.adobe.icc.services.letter
com.adobe.icc.services.locator
com.adobe.icc.services.module
com.adobe.icc.services.render
com.adobe.icc.services.submit
com.adobe.icc.services.user
com.adobe.icc.token
com.adobe.icc.vo
com.adobe.icc.vo.render
com.adobe.icomm.assetplacement.controller
com.adobe.icomm.assetplacement.controller.utils
com.adobe.icomm.assetplacement.data
com.adobe.icomm.assetplacement.model
com.adobe.livecycle.assetmanager.client
com.adobe.livecycle.assetmanager.client.event
com.adobe.livecycle.assetmanager.client.handler
com.adobe.livecycle.assetmanager.client.managers
com.adobe.livecycle.assetmanager.client.model
com.adobe.livecycle.assetmanager.client.model.cms
com.adobe.livecycle.assetmanager.client.service
com.adobe.livecycle.assetmanager.client.service.search
com.adobe.livecycle.assetmanager.client.service.search.cms
com.adobe.livecycle.assetmanager.client.utils
com.adobe.livecycle.content
com.adobe.livecycle.rca.model
com.adobe.livecycle.rca.model.constant
com.adobe.livecycle.rca.model.document
com.adobe.livecycle.rca.model.participant
com.adobe.livecycle.rca.model.reminder
com.adobe.livecycle.rca.model.stage
com.adobe.livecycle.rca.service
com.adobe.livecycle.rca.service.core
com.adobe.livecycle.rca.service.core.delegate
com.adobe.livecycle.rca.service.process
com.adobe.livecycle.rca.service.process.delegate
com.adobe.livecycle.rca.token
com.adobe.livecycle.ria.security.api
com.adobe.livecycle.ria.security.service
com.adobe.mosaic.layouts
com.adobe.mosaic.layouts.dragAndDrop
com.adobe.mosaic.layouts.interfaces
com.adobe.mosaic.mxml
com.adobe.mosaic.om.constants
com.adobe.mosaic.om.events
com.adobe.mosaic.om.impl
com.adobe.mosaic.om.interfaces
com.adobe.mosaic.skinning
com.adobe.mosaic.sparklib.editors
com.adobe.mosaic.sparklib.optionMenu
com.adobe.mosaic.sparklib.scrollableMenu
com.adobe.mosaic.sparklib.scrollableMenu.skins
com.adobe.mosaic.sparklib.tabLayout
com.adobe.mosaic.sparklib.tabLayout.events
com.adobe.mosaic.sparklib.tabLayout.layouts
com.adobe.mosaic.sparklib.tabLayout.skins
com.adobe.mosaic.sparklib.text
com.adobe.mosaic.sparklib.util
com.adobe.solutions.acm.authoring.presentation
com.adobe.solutions.acm.authoring.presentation.actionbar
com.adobe.solutions.acm.authoring.presentation.common
com.adobe.solutions.acm.authoring.presentation.events
com.adobe.solutions.acm.authoring.presentation.fragment
com.adobe.solutions.acm.authoring.presentation.letter
com.adobe.solutions.acm.authoring.presentation.letter.data
com.adobe.solutions.acm.authoring.presentation.preview
com.adobe.solutions.acm.authoring.presentation.rte
com.adobe.solutions.acm.ccr.presentation
com.adobe.solutions.acm.ccr.presentation.contentcapture
com.adobe.solutions.acm.ccr.presentation.contentcapture.events
com.adobe.solutions.acm.ccr.presentation.contentcapture.preview
com.adobe.solutions.acm.ccr.presentation.datacapture
com.adobe.solutions.acm.ccr.presentation.datacapture.renderers
com.adobe.solutions.acm.ccr.presentation.pdf
com.adobe.solutions.exm
com.adobe.solutions.exm.authoring
com.adobe.solutions.exm.authoring.components.controls
com.adobe.solutions.exm.authoring.components.toolbars
com.adobe.solutions.exm.authoring.domain
com.adobe.solutions.exm.authoring.domain.expression
com.adobe.solutions.exm.authoring.domain.impl
com.adobe.solutions.exm.authoring.domain.method
com.adobe.solutions.exm.authoring.domain.variable
com.adobe.solutions.exm.authoring.enum
com.adobe.solutions.exm.authoring.events
com.adobe.solutions.exm.authoring.model
com.adobe.solutions.exm.authoring.renderer
com.adobe.solutions.exm.authoring.view
com.adobe.solutions.exm.expression
com.adobe.solutions.exm.impl
com.adobe.solutions.exm.impl.method
com.adobe.solutions.exm.method
com.adobe.solutions.exm.mock
com.adobe.solutions.exm.mock.method
com.adobe.solutions.exm.runtime
com.adobe.solutions.exm.runtime.impl
com.adobe.solutions.exm.variable
com.adobe.solutions.prm.constant
com.adobe.solutions.prm.domain
com.adobe.solutions.prm.domain.factory
com.adobe.solutions.prm.domain.impl
com.adobe.solutions.prm.domain.manager
com.adobe.solutions.prm.presentation.asset
com.adobe.solutions.prm.presentation.constant
com.adobe.solutions.prm.presentation.document
com.adobe.solutions.prm.presentation.event
com.adobe.solutions.prm.presentation.file
com.adobe.solutions.prm.presentation.project
com.adobe.solutions.prm.presentation.team
com.adobe.solutions.prm.presentation.util
com.adobe.solutions.prm.service
com.adobe.solutions.prm.services.impl
com.adobe.solutions.prm.vo
com.adobe.solutions.rca.constant
com.adobe.solutions.rca.domain
com.adobe.solutions.rca.domain.common
com.adobe.solutions.rca.domain.factory
com.adobe.solutions.rca.domain.impl
com.adobe.solutions.rca.domain.impl.manager
com.adobe.solutions.rca.domain.manager
com.adobe.solutions.rca.presentation
com.adobe.solutions.rca.presentation.comment
com.adobe.solutions.rca.presentation.constant
com.adobe.solutions.rca.presentation.event
com.adobe.solutions.rca.presentation.gantt
com.adobe.solutions.rca.presentation.gantt.ruler
com.adobe.solutions.rca.presentation.template
com.adobe.solutions.rca.presentation.template.audit
com.adobe.solutions.rca.presentation.template.definition
com.adobe.solutions.rca.presentation.template.documents
com.adobe.solutions.rca.presentation.template.stages
com.adobe.solutions.rca.presentation.util
com.adobe.solutions.rca.service
com.adobe.solutions.rca.services.impl
com.adobe.solutions.rca.vo
com.adobe.solutions.rca.vo.um
com.adobe.viewsource
fl.accessibility
fl.containers
fl.controls
fl.controls.dataGridClasses
fl.controls.listClasses
fl.controls.progressBarClasses
fl.core
fl.data
fl.display
fl.events
fl.ik
fl.lang
fl.livepreview
fl.managers
fl.motion
fl.motion.easing
fl.rsl
fl.text
fl.transitions
fl.transitions.easing
fl.video
flash.accessibility
flash.concurrent
flash.crypto
flash.data
flash.desktop
flash.display
flash.display3D
flash.display3D.textures
flash.errors
flash.events
flash.external
flash.filesystem
flash.filters
flash.geom
flash.globalization
flash.html
flash.media
flash.net
flash.net.dns
flash.net.drm
flash.notifications
flash.permissions
flash.printing
flash.profiler
flash.sampler
flash.security
flash.sensors
flash.system
flash.text
flash.text.engine
flash.text.ime
flash.ui
flash.utils
flash.xml
flashx.textLayout
flashx.textLayout.compose
flashx.textLayout.container
flashx.textLayout.conversion
flashx.textLayout.edit
flashx.textLayout.elements
flashx.textLayout.events
flashx.textLayout.factory
flashx.textLayout.formats
flashx.textLayout.operations
flashx.textLayout.utils
flashx.undo
ga.controls
ga.layouts
ga.model
ga.uiComponents
ga.util
ga.views
ga.wrappers
lc.foundation
lc.foundation.domain
lc.foundation.events
lc.foundation.ui
lc.foundation.util
lc.preloader
lc.procmgmt
lc.procmgmt.commands
lc.procmgmt.domain
lc.procmgmt.events
lc.procmgmt.formbridge
lc.procmgmt.impl
lc.procmgmt.ui.attachments
lc.procmgmt.ui.controls
lc.procmgmt.ui.controls.card
lc.procmgmt.ui.controls.renderer
lc.procmgmt.ui.help
lc.procmgmt.ui.layout
lc.procmgmt.ui.presentationmodel
lc.procmgmt.ui.process
lc.procmgmt.ui.search
lc.procmgmt.ui.startpoint
lc.procmgmt.ui.task
lc.procmgmt.ui.task.form
lc.procmgmt.ui.task.form.commands
lc.procmgmt.ui.tracking
mx.accessibility
mx.automation
mx.automation.air
mx.automation.delegates
mx.automation.delegates.advancedDataGrid
mx.automation.delegates.charts
mx.automation.delegates.containers
mx.automation.delegates.controls
mx.automation.delegates.controls.dataGridClasses
mx.automation.delegates.controls.fileSystemClasses
mx.automation.delegates.core
mx.automation.delegates.flashflexkit
mx.automation.events
mx.binding
mx.binding.utils
mx.charts
mx.charts.chartClasses
mx.charts.effects
mx.charts.effects.effectClasses
mx.charts.events
mx.charts.renderers
mx.charts.series
mx.charts.series.items
mx.charts.series.renderData
mx.charts.styles
mx.collections
mx.collections.errors
mx.containers
mx.containers.accordionClasses
mx.containers.dividedBoxClasses
mx.containers.errors
mx.containers.utilityClasses
mx.controls
mx.controls.advancedDataGridClasses
mx.controls.dataGridClasses
mx.controls.listClasses
mx.controls.menuClasses
mx.controls.olapDataGridClasses
mx.controls.scrollClasses
mx.controls.sliderClasses
mx.controls.textClasses
mx.controls.treeClasses
mx.controls.videoClasses
mx.core
mx.core.windowClasses
mx.data
mx.data.crypto
mx.data.errors
mx.data.events
mx.data.messages
mx.data.mxml
mx.data.offline.errors
mx.data.utils
mx.effects
mx.effects.easing
mx.effects.effectClasses
mx.events
mx.filters
mx.flash
mx.formatters
mx.geom
mx.graphics
mx.graphics.codec
mx.graphics.shaderClasses
mx.logging
mx.logging.errors
mx.logging.targets
mx.managers
mx.messaging
mx.messaging.channels
mx.messaging.config
mx.messaging.errors
mx.messaging.events
mx.messaging.management
mx.messaging.messages
mx.modules
mx.netmon
mx.olap
mx.olap.aggregators
mx.preloaders
mx.printing
mx.resources
mx.rpc
mx.rpc.events
mx.rpc.http
mx.rpc.http.mxml
mx.rpc.livecycle
mx.rpc.mxml
mx.rpc.remoting
mx.rpc.remoting.mxml
mx.rpc.soap
mx.rpc.soap.mxml
mx.rpc.wsdl
mx.rpc.xml
mx.skins
mx.skins.halo
mx.skins.spark
mx.skins.wireframe
mx.skins.wireframe.windowChrome
mx.states
mx.styles
mx.utils
mx.validators
org.osmf.containers
org.osmf.display
org.osmf.elements
org.osmf.events
org.osmf.layout
org.osmf.logging
org.osmf.media
org.osmf.metadata
org.osmf.net
org.osmf.net.dvr
org.osmf.net.httpstreaming
org.osmf.net.metrics
org.osmf.net.qos
org.osmf.net.rtmpstreaming
org.osmf.net.rules
org.osmf.traits
org.osmf.utils
spark.accessibility
spark.automation.delegates
spark.automation.delegates.components
spark.automation.delegates.components.gridClasses
spark.automation.delegates.components.mediaClasses
spark.automation.delegates.components.supportClasses
spark.automation.delegates.skins.spark
spark.automation.events
spark.collections
spark.components
spark.components.calendarClasses
spark.components.gridClasses
spark.components.mediaClasses
spark.components.supportClasses
spark.components.windowClasses
spark.core
spark.effects
spark.effects.animation
spark.effects.easing
spark.effects.interpolation
spark.effects.supportClasses
spark.events
spark.filters
spark.formatters
spark.formatters.supportClasses
spark.globalization
spark.globalization.supportClasses
spark.layouts
spark.layouts.supportClasses
spark.managers
spark.modules
spark.preloaders
spark.primitives
spark.primitives.supportClasses
spark.skins
spark.skins.mobile
spark.skins.mobile.supportClasses
spark.skins.spark
spark.skins.spark.mediaClasses.fullScreen
spark.skins.spark.mediaClasses.normal
spark.skins.spark.windowChrome
spark.skins.wireframe
spark.skins.wireframe.mediaClasses
spark.skins.wireframe.mediaClasses.fullScreen
spark.transitions
spark.utils
spark.validators
spark.validators.supportClasses
xd.core.axm.enterprise.view.components
xd.core.axm.enterprise.view.skins
xd.core.axm.view.components
xd.core.axm.view.components.support

언어 요소

전역 상수
전역 함수
연산자
명령문, 키워드 및 지시문
특수 유형 연산자

부록

새로운 내용
컴파일러 오류
컴파일러 경고
런타임 오류
ActionScript 3으로 마이그레이션
지원되는 문자 세트
MXML 전용 태그
모션 XML 요소
Timed Text 태그
사용되지 않는 요소의 목록
액세스 가능성 구현 상수
ActionScript 예제 사용 방법
법적 고지 사항
패키지spark.primitives.supportClasses
클래스public class GraphicElement
상속GraphicElement Inheritance EventDispatcher Inheritance Object
구현 IGraphicElement, IInvalidating, ILayoutElement, IVisualElement, IMXMLObject
하위 클래스 BitmapImage, StrokedElement

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

A base class for defining individual graphic elements. Types of graphic elements include:
  • Shapes
  • Text
  • Raster images

When defining a graphic element, you specify an explicit size for the element; that is, you cannot use percentage sizing as you can when specifying the size of a control.

The TBounds are the boundaries of an object in the object's parent coordinate space. The UBounds are the boundaries of an object in its own coordinate space.

If you set the transform.matrix declaratively in MXML, then it will override the values of any transform properties (rotation, scaleX, scaleY, x, and y). If you set the transform.matrix or the transform properties in ActionScript, then the last value set will be used.



공용 속성
 속성정의 주체
  alpha : Number
The level of transparency of the graphic element.
GraphicElement
  alwaysCreateDisplayObject : Boolean
Specifies that this GraphicElement is to be associated with and be rendered to its own DisplayObject.
GraphicElement
  baseline : Object
The vertical distance in pixels from the anchor target to the control's baseline position.
GraphicElement
  baselinePosition : Number
[읽기 전용] The y-coordinate of the baseline of the first line of text of the component.
GraphicElement
  blendMode : String
A value from the BlendMode class that specifies which blend mode to use.
GraphicElement
  bottom : Object
The vertical distance in pixels from the bottom edge of the component to the anchor target's bottom edge.
GraphicElement
 Inheritedconstructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다.
Object
  depth : Number
Determines the order in which items inside of containers are rendered.
GraphicElement
  designLayer : DesignLayer
Specifies the optional DesignLayer instance associated with this visual element.
GraphicElement
  displayObject : DisplayObject
[읽기 전용] The shared DisplayObject where this IGraphicElement is drawn.
GraphicElement
  displayObjectSharingMode : String
Indicates the association between this IGraphicElement and its display objects.
GraphicElement
  explicitHeight : Number
Number that specifies the explicit height of the component, in pixels, in the component's coordinates.
GraphicElement
  explicitMaxHeight : Number
The maximum recommended height of the component to be considered by the parent during layout.
GraphicElement
  explicitMaxWidth : Number
The maximum recommended width of the component to be considered by the parent during layout.
GraphicElement
  explicitMinHeight : Number
The minimum recommended height of the component to be considered by the parent during layout.
GraphicElement
  explicitMinWidth : Number
The minimum recommended width of the component to be considered by the parent during layout.
GraphicElement
  explicitWidth : Number
Number that specifies the explicit width of the component, in pixels, in the component's coordinates.
GraphicElement
  filters : Array
An indexed array that contains each filter object currently associated with the graphic element.
GraphicElement
  hasLayoutMatrix3D : Boolean
[읽기 전용] Contains true if the element has 3D Matrix.
GraphicElement
  height : Number
The height of the graphic element.
GraphicElement
  horizontalCenter : Object
The horizontal distance in pixels from the center of the component to the center of the anchor target's content area.
GraphicElement
  id : String
The identity of the component.
GraphicElement
  includeInLayout : Boolean
Specifies whether this element is included in the layout of the parent.
GraphicElement
  is3D : Boolean
[읽기 전용] Contains true when the element is in 3D.
GraphicElement
  layoutDirection : String
Specifies the desired layout direction for an element: one of LayoutDirection.LTR (left to right), LayoutDirection.RTL (right to left), or null (inherit).
GraphicElement
  left : Object
The horizontal distance in pixels from the left edge of the component to the anchor target's left edge.
GraphicElement
  luminosityClip : Boolean
A property that controls whether the luminosity mask clips the masked content.
GraphicElement
  luminosityInvert : Boolean
A property that controls the calculation of the RGB color value of a graphic element being masked by a luminosity mask.
GraphicElement
  mask : DisplayObject
The calling display object is masked by the specified mask object.
GraphicElement
  maskType : String
Defines how the mask is applied to the GraphicElement. The possible values are MaskType.CLIP, MaskType.ALPHA, and MaskType.LUMINOSITY. Clip Masking When masking in clip mode, a clipping masks is reduced to 1-bit.
GraphicElement
  maxHeight : Number
The maximum recommended height of the component to be considered by the parent during layout.
GraphicElement
  maxWidth : Number
The maximum recommended width of the component to be considered by the parent during layout.
GraphicElement
  measuredHeight : Number
The default height of the component, in pixels.
GraphicElement
  measuredWidth : Number
The default width of the component, in pixels.
GraphicElement
  measuredX : Number
The default measured bounds top-left corner relative to the origin of the element.
GraphicElement
  measuredY : Number
The default measured bounds top-left corner relative to the origin of the element.
GraphicElement
  minHeight : Number
The minimum recommended height of the component to be considered by the parent during layout.
GraphicElement
  minWidth : Number
The minimum recommended width of the component to be considered by the parent during layout.
GraphicElement
  owner : DisplayObjectContainer
The owner of this IVisualElement object.
GraphicElement
  parent : DisplayObjectContainer
[읽기 전용] The parent container or component for this component.
GraphicElement
  percentHeight : Number
Specifies the height of a component as a percentage of its parent's size.
GraphicElement
  percentWidth : Number
Specifies the width of a component as a percentage of its parent's size.
GraphicElement
  postLayoutTransformOffsets : mx.geom:TransformOffsets
Defines a set of adjustments that can be applied to the object's transform in a way that is invisible to its parent's layout.
GraphicElement
  right : Object
The horizontal distance in pixels from the right edge of the component to the anchor target's right edge.
GraphicElement
  rotation : Number
Indicates the rotation of the element, in degrees, from the transform point.
GraphicElement
  rotationX : Number
Indicates the x-axis rotation of the element instance, in degrees, from its original orientation relative to the 3D parent container.
GraphicElement
  rotationY : Number
Indicates the y-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container.
GraphicElement
  rotationZ : Number
Indicates the rotation of the element, in degrees, from the transform point.
GraphicElement
  scaleX : Number
The horizontal scale (percentage) of the element as applied from the transform point.
GraphicElement
  scaleY : Number
The vertical scale (percentage) of the element as applied from the transform point.
GraphicElement
  scaleZ : Number
The z scale (percentage) of the element as applied from the transform point.
GraphicElement
  top : Object
The vertical distance in pixels from the top edge of the component to the anchor target's top edge.
GraphicElement
  transform : flash.geom:Transform
표시 객체의 행렬, 색상 변환 및 픽셀 경계와 관련된 속성을 가진 객체입니다.
GraphicElement
  transformX : Number
The x position transform point of the element.
GraphicElement
  transformY : Number
The y position transform point of the element.
GraphicElement
  transformZ : Number
The z position transform point of the element.
GraphicElement
  verticalCenter : Object
The vertical distance in pixels from the center of the component to the center of the anchor target's content area.
GraphicElement
  visible : Boolean
Controls the visibility of this visual element.
GraphicElement
  width : Number
The width of the graphic element.
GraphicElement
  x : Number
The x position of the graphic element.
GraphicElement
  y : Number
The y position of the graphic element.
GraphicElement
  z : Number
The z position of the graphic element.
GraphicElement
보호 속성
 속성정의 주체
  drawnDisplayObject : DisplayObject
[읽기 전용] The actual DisplayObject that is drawn into by the GraphicElement.
GraphicElement
  drawX : Number
[읽기 전용] The x position where the element should be drawn.
GraphicElement
  drawY : Number
[읽기 전용] The y position where the element should be drawn.
GraphicElement
  hasComplexLayoutMatrix : Boolean
[읽기 전용] Returns true if the GraphicElement has any non-translation (x,y) transform properties
GraphicElement
  layoutFeatures : AdvancedLayoutFeatures
Contain all of the implementation details of how the GraphicElement implements transform and layering support.
GraphicElement
  needsDisplayObject : Boolean
[읽기 전용] True if the element requires an exclusive DisplayObject.
GraphicElement
공용 메서드
 메서드정의 주체
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다.
EventDispatcher
  
Returns true if this IGraphicElement is compatible and can share display objects with the next IGraphicElement in the sequence.
GraphicElement
  
Returns true if this IGraphicElement is compatible and can share display objects with the previous IGraphicElement in the sequence.
GraphicElement
  
Creates a new DisplayObject where this IGraphicElement is drawn.
GraphicElement
 Inherited
이벤트를 이벤트 흐름으로 전달합니다.
EventDispatcher
  
getBoundsXAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
Returns the x coordinate of the element's bounds at the specified element size.
GraphicElement
  
getBoundsYAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
Returns the y coordinate of the element's bounds at the specified element size.
GraphicElement
  
getLayoutBoundsHeight(postLayoutTransform:Boolean = true):Number
Returns the element's layout height.
GraphicElement
  
getLayoutBoundsWidth(postLayoutTransform:Boolean = true):Number
Returns the element's layout width.
GraphicElement
  
getLayoutBoundsX(postLayoutTransform:Boolean = true):Number
Returns the x coordinate that the element uses to draw on screen.
GraphicElement
  
getLayoutBoundsY(postLayoutTransform:Boolean = true):Number
Returns the y coordinate that the element uses to draw on screen.
GraphicElement
  
Returns the transform matrix that is used to calculate the component's layout relative to its siblings.
GraphicElement
  
Returns the layout transform Matrix3D for this element.
GraphicElement
  
getMaxBoundsHeight(postLayoutTransform:Boolean = true):Number
Returns the element's maximum height.
GraphicElement
  
getMaxBoundsWidth(postLayoutTransform:Boolean = true):Number
Returns the element's maximum width.
GraphicElement
  
getMinBoundsHeight(postLayoutTransform:Boolean = true):Number
Returns the element's minimum height.
GraphicElement
  
getMinBoundsWidth(postLayoutTransform:Boolean = true):Number
Returns the element's minimum width.
GraphicElement
  
getPreferredBoundsHeight(postLayoutTransform:Boolean = true):Number
Returns the element's preferred height.
GraphicElement
  
getPreferredBoundsWidth(postLayoutTransform:Boolean = true):Number
Returns the element's preferred width.
GraphicElement
 Inherited
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다.
EventDispatcher
 Inherited
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다.
Object
  
Called automatically by the MXML compiler when the GraphicElement is created using an MXML tag.
GraphicElement
  
Calling this method results in a call to the elements's validateDisplayList() method before the display list is rendered.
GraphicElement
  
An element must call this method when its layoutDirection changes or when its parent's layoutDirection changes.
GraphicElement
  
Calling this method results in a call to the elements's validateProperties() method before the display list is rendered.
GraphicElement
  
Calling this method results in a call to the elements's validateSize() method before the display list is rendered.
GraphicElement
 Inherited
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다.
Object
  
Converts the point object from the object's (local) coordinates to the Stage (global) coordinates.
GraphicElement
  
Called by IGraphicElementContainer when an IGraphicElement is added to or removed from the host component.
GraphicElement
 Inherited
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventDispatcher 객체에서 리스너를 제거합니다.
EventDispatcher
  
setLayoutBoundsPosition(newBoundsX:Number, newBoundsY:Number, postLayoutTransform:Boolean = true):void
Sets the coordinates that the element uses to draw on screen.
GraphicElement
  
setLayoutBoundsSize(width:Number, height:Number, postLayoutTransform:Boolean = true):void
Sets the layout size of the element.
GraphicElement
  
setLayoutMatrix(value:Matrix, invalidateLayout:Boolean):void
Sets the transform Matrix that is used to calculate the component's layout size and position relative to its siblings.
GraphicElement
  
setLayoutMatrix3D(value:Matrix3D, invalidateLayout:Boolean):void
Sets the transform Matrix3D that is used to calculate the component's layout size and position relative to its siblings.
GraphicElement
 Inherited
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다.
Object
  
Determines whether this element can draw itself to the sharedDisplayObject of the sequence.
GraphicElement
 Inherited
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다.
Object
 Inherited
지정된 객체의 문자열 표현을 반환합니다.
Object
  
transformAround(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void
A utility method to update the rotation, scale, and translation of the transform while keeping a particular point, specified in the component's own coordinate space, fixed in the parent's coordinate space.
GraphicElement
  
transformPointToParent(localPosition:Vector3D, position:Vector3D, postLayoutPosition:Vector3D):void
A utility method to transform a point specified in the local coordinates of this object to its location in the object's parent's coordinates.
GraphicElement
  
Called by the IGraphicElementContainer to redraw this element in its displayObject property.
GraphicElement
  
Validates and updates the properties and layout of this object by immediately calling validateProperties(), validateSize(), and validateDisplayList(), if necessary.
GraphicElement
  
Used by layout logic to validate the properties of a component by calling the commitProperties() method.
GraphicElement
  
Called by the IGraphicElementContainer to validate the size of this element.
GraphicElement
 Inherited
지정된 객체의 프리미티브 값을 반환합니다.
Object
 Inherited
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다.
EventDispatcher
보호 메서드
 메서드정의 주체
  
Determines if the call to the measure() method can be skipped.
GraphicElement
  
Processes the properties set on the element.
GraphicElement
  
getStrokeExtents(postLayoutTransform:Boolean = true):Rectangle
Returns the amount of pixels occupied by the stroke on each side of the element's bounds.
GraphicElement
  
Utility method that notifies the host that this element has changed and needs its layer to be updated.
GraphicElement
  
Helper method to invalidate parent size and display list if this object affects its layout (includeInLayout is true).
GraphicElement
  
Calculates the default size of the element.
GraphicElement
  
Used for the implementation of the ILayoutElement interface, returns the explicit measured height pre-transform.
GraphicElement
  
Used for the implementation of the ILayoutElement interface, returns the explicit of measured width pre-transform.
GraphicElement
  
transformHeightForLayout(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
Transform the element's size.
GraphicElement
  
transformWidthForLayout(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
Transform the element's size.
GraphicElement
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draws the element and/or sizes and positions its content.
GraphicElement
이벤트
 이벤트 요약 정의 주체
 Inherited[브로드캐스트 이벤트] Flash Player 또는 AIR 응용 프로그램이 운영 체제 포커스를 얻어 활성화될 때 전달됩니다.EventDispatcher
 Inherited[브로드캐스트 이벤트] Flash Player 또는 AIR 응용 프로그램이 운영 체제 포커스를 잃고 비활성화될 때 전달됩니다.EventDispatcher
속성 세부 정보

alpha

속성
alpha:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The level of transparency of the graphic element. Valid values are decimal values between 0 (fully transparent) and 1 (fully opaque). For example, a value of .25 means that the element has 25% opacity.



구현
    public function get alpha():Number
    public function set alpha(value:Number):void

alwaysCreateDisplayObject

속성 
alwaysCreateDisplayObject:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 4.5
런타임 버전: Flash Player 10, AIR 1.5

Specifies that this GraphicElement is to be associated with and be rendered to its own DisplayObject.

기본값: false.



구현
    public function get alwaysCreateDisplayObject():Boolean
    public function set alwaysCreateDisplayObject(value:Boolean):void

baseline

속성 
baseline:Object

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The vertical distance in pixels from the anchor target to the control's baseline position.

By default the anchor target is the top edge of the container's content area. In layouts with advanced constraints, the target can be a constraint row.

Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.

To specify an anchor target, set the property value to a string in the format: "anchorTargetName:value". For example, "row1:10".



구현
    public function get baseline():Object
    public function set baseline(value:Object):void

baselinePosition

속성 
baselinePosition:Number  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The y-coordinate of the baseline of the first line of text of the component.



구현
    public function get baselinePosition():Number

blendMode

속성 
blendMode:String

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

A value from the BlendMode class that specifies which blend mode to use.

기본값: auto.



구현
    public function get blendMode():String
    public function set blendMode(value:String):void

관련 API 요소

bottom

속성 
bottom:Object

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The vertical distance in pixels from the bottom edge of the component to the anchor target's bottom edge.

By default the anchor target is the container's content area. In layouts with advanced constraints, the target can be a constraint row.

Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.

To specify an anchor target, set the property value to a string in the format: "anchorTargetName:value". For example, "row1:10".



구현
    public function get bottom():Object
    public function set bottom(value:Object):void

depth

속성 
depth:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Determines the order in which items inside of containers are rendered. Spark containers order their items based on their depth property, with the lowest depth in the back, and the higher in the front. Items with the same depth value appear in the order they are added to the container.



구현
    public function get depth():Number
    public function set depth(value:Number):void

designLayer

속성 
designLayer:DesignLayer

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Specifies the optional DesignLayer instance associated with this visual element.

When a DesignLayer is assigned, a visual element must consider the visibility and alpha of its parent layer when ultimately committing its own effective visibility or alpha to its backing DisplayObject (if applicable).

A visual element must listen for layerPropertyChange notifications from the associated layer parent. When the effectiveAlpha or effectiveVisibility of the layer changes, the element must then compute its own effective visibility (or alpha) and apply it accordingly.

This property should not be set within MXML directly.

The designLayer property is not used for z-order control, please see depth.



구현
    public function get designLayer():DesignLayer
    public function set designLayer(value:DesignLayer):void

displayObject

속성 
displayObject:DisplayObject  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The shared DisplayObject where this IGraphicElement is drawn.

Implementers should not create the DisplayObject here, but in the createDisplayObject() method.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get displayObject():DisplayObject

displayObjectSharingMode

속성 
displayObjectSharingMode:String

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Indicates the association between this IGraphicElement and its display objects. The IGraphicElementContainer manages this property and the values are one of the DisplayObjectSharingMode enum class.

  • A value of DisplayObjectSharingMode.OWNS_UNSHARED_OBJECT indicates that the IGraphicElement owns exclusively the DisplayObject corresponding to its displayObject property.
  • A value of DisplayObjectSharingMode.OWNS_SHARED_OBJECT indicates taht the IGraphicElement owns the DisplayObject corresponding to its displayObject property but other IGraphicElements are using/drawing to that display object as well. Depending on the specific implementation, the IGraphicElement may perform certain management of the display object. For example the base class GraphicElement clears the transform of the display object, reset its visibility, alpha, etc. properties to their default values and additionally clear the graphics on every validateDisplayList() call.
  • A value of DisplayObjectSharingMode.USES_SHARED_OBJECT indicates that the IGraphicElement draws into the DisplayObject corresponding to its displayObject property. There are one or more IGraphicElements that draw into that same displayObject, and the first element that draws has its mode set to DisplayObjectMode.OWNS_SHARED_OBJECT



구현
    public function get displayObjectSharingMode():String
    public function set displayObjectSharingMode(value:String):void

drawnDisplayObject

속성 
drawnDisplayObject:DisplayObject  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The actual DisplayObject that is drawn into by the GraphicElement. Typically this is equivalent to the displayObject property. Subclasses should perform drawing commands on this property instead of on displayObject.



구현
    protected function get drawnDisplayObject():DisplayObject

drawX

속성 
drawX:Number  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The x position where the element should be drawn.



구현
    protected function get drawX():Number

drawY

속성 
drawY:Number  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The y position where the element should be drawn.



구현
    protected function get drawY():Number

explicitHeight

속성 
explicitHeight:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Number that specifies the explicit height of the component, in pixels, in the component's coordinates.



구현
    public function get explicitHeight():Number
    public function set explicitHeight(value:Number):void

관련 API 요소

explicitMaxHeight

속성 
explicitMaxHeight:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The maximum recommended height of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels.



구현
    public function get explicitMaxHeight():Number
    public function set explicitMaxHeight(value:Number):void

관련 API 요소

explicitMaxWidth

속성 
explicitMaxWidth:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The maximum recommended width of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels.



구현
    public function get explicitMaxWidth():Number
    public function set explicitMaxWidth(value:Number):void

관련 API 요소

explicitMinHeight

속성 
explicitMinHeight:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The minimum recommended height of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels.



구현
    public function get explicitMinHeight():Number
    public function set explicitMinHeight(value:Number):void

관련 API 요소

explicitMinWidth

속성 
explicitMinWidth:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The minimum recommended width of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels.



구현
    public function get explicitMinWidth():Number
    public function set explicitMinWidth(value:Number):void

관련 API 요소

explicitWidth

속성 
explicitWidth:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Number that specifies the explicit width of the component, in pixels, in the component's coordinates.



구현
    public function get explicitWidth():Number
    public function set explicitWidth(value:Number):void

관련 API 요소

filters

속성 
filters:Array

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

An indexed array that contains each filter object currently associated with the graphic element. The mx.filters package contains classes that define specific filters you can use.

The getter returns a copy of the filters array. The filters property value can only be changed via the setter.



구현
    public function get filters():Array
    public function set filters(value:Array):void

관련 API 요소

hasComplexLayoutMatrix

속성 
hasComplexLayoutMatrix:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns true if the GraphicElement has any non-translation (x,y) transform properties



구현
    protected function get hasComplexLayoutMatrix():Boolean

hasLayoutMatrix3D

속성 
hasLayoutMatrix3D:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Contains true if the element has 3D Matrix.

Use hasLayoutMatrix3D instead of calling and examining the return value of getLayoutMatrix3D() because that method returns a valid matrix even when the element is in 2D.



구현
    public function get hasLayoutMatrix3D():Boolean

height

속성 
height:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The height of the graphic element.

기본값: 0.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get height():Number
    public function set height(value:Number):void

horizontalCenter

속성 
horizontalCenter:Object

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The horizontal distance in pixels from the center of the component to the center of the anchor target's content area.

The default anchor target is the container itself.

In layouts with advanced constraints, the anchor target can be a constraint column. Then the content area is the space between the preceding column (or container side) and the target column.

Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.

To specify an anchor target, set the property value to a string in the format "constraintColumnId:value". For example, "col1:10".



구현
    public function get horizontalCenter():Object
    public function set horizontalCenter(value:Object):void

id

속성 
id:String

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The identity of the component.



구현
    public function get id():String
    public function set id(value:String):void

includeInLayout

속성 
includeInLayout:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Specifies whether this element is included in the layout of the parent.

기본값: true.



구현
    public function get includeInLayout():Boolean
    public function set includeInLayout(value:Boolean):void

is3D

속성 
is3D:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Contains true when the element is in 3D. The element can be in 3D either because it has 3D transform properties or it has 3D post layout transform offsets or both.



구현
    public function get is3D():Boolean

layoutDirection

속성 
layoutDirection:String

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Specifies the desired layout direction for an element: one of LayoutDirection.LTR (left to right), LayoutDirection.RTL (right to left), or null (inherit). This property is typically backed by an inheriting style. If null, the layoutDirection style will be set to undefined. Classes like GraphicElement, which implement ILayoutDirectionElement but do not support styles, must additionally support a null value for this property which means the layoutDirection must be inherited from its parent.



구현
    public function get layoutDirection():String
    public function set layoutDirection(value:String):void

layoutFeatures

속성 
protected var layoutFeatures:AdvancedLayoutFeatures

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Contain all of the implementation details of how the GraphicElement implements transform and layering support. In most cases, you should not have to modify this property.

left

속성 
left:Object

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The horizontal distance in pixels from the left edge of the component to the anchor target's left edge.

By default the anchor target is the container's content area. In layouts with advanced constraints, the target can be a constraint column.

Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.

To specify an anchor target, set the property value to a string in the format "anchorTargetName:value". For example, "col1:10".



구현
    public function get left():Object
    public function set left(value:Object):void

luminosityClip

속성 
luminosityClip:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

A property that controls whether the luminosity mask clips the masked content. This property can only have an effect if the graphic element has a mask applied to it that is of type MaskType.LUMINOSITY.

기본값: false.



구현
    public function get luminosityClip():Boolean
    public function set luminosityClip(value:Boolean):void

관련 API 요소

luminosityInvert

속성 
luminosityInvert:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

A property that controls the calculation of the RGB color value of a graphic element being masked by a luminosity mask. If true, the RGB color value of a pixel in the source content is inverted and multipled by the corresponding region in the mask. If false, the source content's pixel's RGB color value is used directly.

기본값: false.



구현
    public function get luminosityInvert():Boolean
    public function set luminosityInvert(value:Boolean):void

관련 API 요소

mask

속성 
mask:DisplayObject

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The calling display object is masked by the specified mask object. If, the mask display object is not on the display list, it will be added to the display list as a child of the displayObject. The mask object itself is not drawn. Set mask to null to remove the mask. To use another GraphicElement as a mask, wrap the GraphicElement in a Group or other container.



구현
    public function get mask():DisplayObject
    public function set mask(value:DisplayObject):void

관련 API 요소

maskType

속성 
maskType:String

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Defines how the mask is applied to the GraphicElement.

The possible values are MaskType.CLIP, MaskType.ALPHA, and MaskType.LUMINOSITY.

Clip Masking

When masking in clip mode, a clipping masks is reduced to 1-bit. This means that a mask will not affect the opacity of a pixel in the source content; it either leaves the value unmodified, if the corresponding pixel in the mask is has a non-zero alpha value, or makes it fully transparent, if the mask pixel value has an alpha value of zero.

When clip masking is used, only the actual path and shape vectors and fills defined by the mask are used to determine the effect on the source content. strokes and bitmap filters defined on the mask are ignored. Any filled region in the mask is considered filled, and renders the source content. The type and parameters of the fill is irrelevant; a solid color fill, gradient fill, or bitmap fill in a mask will all render the underlying source content, regardless of the alpha values of the mask fill.

BitmapGraphics are treated as bitmap filled rectangles when used in a clipping mask. As a result, the alpha channel of the source bitmap is irrelevant when part of a mask -- the bitmap affects the mask in the same manner as solid filled rectangle of equivalent dimensions.

Alpha Masking

In alpha mode, the opacity of each pixel in the source content is multiplied by the opacity of the corresponding region of the mask. i.e., a pixel in the source content with an opacity of 1 that is masked by a region of opacity of .5 will have a resulting opacity of .5. A source pixel with an opacity of .8 masked by a region with opacity of .5 will have a resulting opacity of .4.

Conceptually, alpha masking is equivalent to rendering the transformed mask and source content into separate RGBA surfaces, and multiplying the alpha channel of the mask content into the alpha channel of the source content. All of the mask content is rendered into its surface before compositing into the source content's surface. As a result, all FXG features, such as strokes, bitmap filters, and fill opacity will affect the final composited content.

When in alpha mode, the alpha channel of any bitmap data is composited normally into the mask alpha channel, and will affect the final rendered content. This holds true for both BitmapGraphics and bitmap filled shapes and paths.

Luminosity Masking

A luminosity mask, sometimes called a 'soft mask', works very similarly to an alpha mask except that both the opacity and RGB color value of a pixel in the source content is multiplied by the opacity and RGB color value of the corresponding region in the mask.

Conceptually, luminosity masking is equivalent to rendering the transformed mask and source content into separate RGBA surfaces, and multiplying the alpha channel and the RGB color value of the mask content into the alpha channel and RGB color value of the source content. All of the mask content is rendered into its surface before compositing into the source content's surface. As a result, all FXG features, such as strokes, bitmap filters, and fill opacity will affect the final composited content.

Luminosity masking is not native to Flash but is common in Adobe Creative Suite tools like Adobe Illustrator and Adobe Photoshop. In order to accomplish the visual effect of a luminosity mask in Flash-rendered content, a graphic element specifying a luminosity mask actually instantiates a shader filter that mimics the visual look of a luminosity mask as rendered in Adobe Creative Suite tools.

Objects being masked by luminosity masks can set properties to control the RGB color value and clipping of the mask. See the luminosityInvert and luminosityClip attributes.

기본값: MaskType.CLIP.



구현
    public function get maskType():String
    public function set maskType(value:String):void

관련 API 요소

spark.core.MarkType

maxHeight

속성 
maxHeight:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The maximum recommended height of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels. The default value of this property is set by the component developer.

The component developer uses this property to set an upper limit on the height of the component.

If the application developer overrides the default value of maxHeight, the new value is stored in explicitMaxHeight. The default value of maxHeight does not change. As a result, at layout time, if maxHeight was explicitly set by the application developer, then the value of explicitMaxHeight is used for the component's maximum recommended height. If maxHeight is not set explicitly by the user, then the default value is used.

This value is used by the container in calculating the size and position of the component. It is not used by the component itself in determining its default size. Thus this property may not have any effect if parented by Container, or containers that don't factor in this property. Because the value is in component coordinates, the true maxHeight with respect to its parent is affected by the scaleY property. Some components have no theoretical limit to their height. In those cases their maxHeight is set to UIComponent.DEFAULT_MAX_HEIGHT.



구현
    public function get maxHeight():Number
    public function set maxHeight(value:Number):void

maxWidth

속성 
maxWidth:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The maximum recommended width of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels. The default value of this property is set by the component developer.

The component developer uses this property to set an upper limit on the width of the component.

If the application developer overrides the default value of maxWidth, the new value is stored in explicitMaxWidth. The default value of maxWidth does not change. As a result, at layout time, if maxWidth was explicitly set by the application developer, then the value of explicitMaxWidth is used for the component's maximum recommended width. If maxWidth is not set explicitly by the user, then the default value is used.

This value is used by the container in calculating the size and position of the component. It is not used by the component itself in determining its default size. Thus this property may not have any effect if parented by Container, or containers that don't factor in this property. Because the value is in component coordinates, the true maxWidth with respect to its parent is affected by the scaleX property. Some components have no theoretical limit to their width. In those cases their maxWidth is set to UIComponent.DEFAULT_MAX_WIDTH.



구현
    public function get maxWidth():Number
    public function set maxWidth(value:Number):void

measuredHeight

속성 
measuredHeight:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The default height of the component, in pixels. This value is set by the measure() method.



구현
    public function get measuredHeight():Number
    public function set measuredHeight(value:Number):void

measuredWidth

속성 
measuredWidth:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The default width of the component, in pixels. This value is set by the measure() method.



구현
    public function get measuredWidth():Number
    public function set measuredWidth(value:Number):void

measuredX

속성 
measuredX:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The default measured bounds top-left corner relative to the origin of the element.



구현
    public function get measuredX():Number
    public function set measuredX(value:Number):void

measuredY

속성 
measuredY:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The default measured bounds top-left corner relative to the origin of the element.



구현
    public function get measuredY():Number
    public function set measuredY(value:Number):void

minHeight

속성 
minHeight:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The minimum recommended height of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels. The default value depends on the component's implementation.

If the application developer sets the value of minHeight, the new value is stored in explicitMinHeight. The default value of minHeight does not change. As a result, at layout time, if minHeight was explicitly set by the application developer, then the value of explicitMinHeight is used for the component's minimum recommended height. If minHeight is not set explicitly by the application developer, then the value of measuredMinHeight is used.

This value is used by the container in calculating the size and position of the component. It is not used by the component itself in determining its default size. Thus this property may not have any effect if parented by Container, or containers that don't factor in this property. Because the value is in component coordinates, the true minHeight with respect to its parent is affected by the scaleY property.



구현
    public function get minHeight():Number
    public function set minHeight(value:Number):void

minWidth

속성 
minWidth:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The minimum recommended width of the component to be considered by the parent during layout. This value is in the component's coordinates, in pixels. The default value depends on the component's implementation.

If the application developer sets the value of minWidth, the new value is stored in explicitMinWidth. The default value of minWidth does not change. As a result, at layout time, if minWidth was explicitly set by the application developer, then the value of explicitMinWidth is used for the component's minimum recommended width. If minWidth is not set explicitly by the application developer, then the value of measuredMinWidth is used.

This value is used by the container in calculating the size and position of the component. It is not used by the component itself in determining its default size. Thus this property may not have any effect if parented by Container, or containers that don't factor in this property. Because the value is in component coordinates, the true minWidth with respect to its parent is affected by the scaleX property.



구현
    public function get minWidth():Number
    public function set minWidth(value:Number):void

needsDisplayObject

속성 
needsDisplayObject:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

True if the element requires an exclusive DisplayObject. Developers don't usually call this method directly, but override it in their subclasses to indicate that an exclusive DisplayObject is needed. Usually a subclass needs a DisplayObject when it has to set its properties. Some examples of such DisplayObject properties are filters, blendMode, mask, rotation, alpha.



구현
    protected function get needsDisplayObject():Boolean

owner

속성 
owner:DisplayObjectContainer

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The owner of this IVisualElement object. By default, it is the parent of this IVisualElement object. However, if this IVisualElement object is a child component that is popped up by its parent, such as the drop-down list of a ComboBox control, the owner is the component that popped up this IVisualElement object.

This property is not managed by Flex, but by each component. Therefore, if you use the PopUpManger.createPopUp() or PopUpManger.addPopUp() method to pop up a child component, you should set the owner property of the child component to the component that popped it up.

The default value is the value of the parent property.



구현
    public function get owner():DisplayObjectContainer
    public function set owner(value:DisplayObjectContainer):void

parent

속성 
parent:DisplayObjectContainer  [읽기 전용]

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The parent container or component for this component. Only visual elements should have a parent property. Non-visual items should use another property to reference the object to which they belong. By convention, non-visual objects use an owner property to reference the object to which they belong.



구현
    public function get parent():DisplayObjectContainer

percentHeight

속성 
percentHeight:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Specifies the height of a component as a percentage of its parent's size. Allowed values are 0-100. Setting the height or explicitHeight properties resets this property to NaN.

This property returns a numeric value only if the property was previously set; it does not reflect the exact size of the component in percent.



구현
    public function get percentHeight():Number
    public function set percentHeight(value:Number):void

percentWidth

속성 
percentWidth:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Specifies the width of a component as a percentage of its parent's size. Allowed values are 0-100. The default value is NaN. Setting the width or explicitWidth properties resets this property to NaN.

This property returns a numeric value only if the property was previously set; it does not reflect the exact size of the component in percent.

This property is always set to NaN for the UITextField control.

When used with Spark layouts, this property is used to calculate the width of the component's bounds after scaling and rotation. For example if the component is rotated at 90 degrees, then specifying percentWidth will affect the component's height.



구현
    public function get percentWidth():Number
    public function set percentWidth(value:Number):void

postLayoutTransformOffsets

속성 
postLayoutTransformOffsets:mx.geom:TransformOffsets

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Defines a set of adjustments that can be applied to the object's transform in a way that is invisible to its parent's layout.

For example, if you want a layout to adjust for an object that is rotated 90 degrees, set the object's rotation property. If you want the layout to not adjust for the object being rotated, set its postLayoutTransformOffsets.rotationZ property.



구현
    public function get postLayoutTransformOffsets():mx.geom:TransformOffsets
    public function set postLayoutTransformOffsets(value:mx.geom:TransformOffsets):void

right

속성 
right:Object

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The horizontal distance in pixels from the right edge of the component to the anchor target's right edge.

By default the anchor target is the container's content area. In layouts with advanced constraints, the target can be a constraint column.

Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.

To specify an anchor target, set the property value to a string in the format "anchorTargetName:value". For example, "col1:10".



구현
    public function get right():Object
    public function set right(value:Object):void

rotation

속성 
rotation:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Indicates the rotation of the element, in degrees, from the transform point.



구현
    public function get rotation():Number
    public function set rotation(value:Number):void

rotationX

속성 
rotationX:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Indicates the x-axis rotation of the element instance, in degrees, from its original orientation relative to the 3D parent container. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. Values outside this range are added to or subtracted from 360 to obtain a value within the range. This property is ignored during calculation by any of Flex's 2D layouts.



구현
    public function get rotationX():Number
    public function set rotationX(value:Number):void

rotationY

속성 
rotationY:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Indicates the y-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. Values outside this range are added to or subtracted from 360 to obtain a value within the range. This property is ignored during calculation by any of Flex's 2D layouts.



구현
    public function get rotationY():Number
    public function set rotationY(value:Number):void

rotationZ

속성 
rotationZ:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Indicates the rotation of the element, in degrees, from the transform point.



구현
    public function get rotationZ():Number
    public function set rotationZ(value:Number):void

scaleX

속성 
scaleX:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The horizontal scale (percentage) of the element as applied from the transform point.



구현
    public function get scaleX():Number
    public function set scaleX(value:Number):void

scaleY

속성 
scaleY:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The vertical scale (percentage) of the element as applied from the transform point.



구현
    public function get scaleY():Number
    public function set scaleY(value:Number):void

scaleZ

속성 
scaleZ:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The z scale (percentage) of the element as applied from the transform point.



구현
    public function get scaleZ():Number
    public function set scaleZ(value:Number):void

top

속성 
top:Object

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The vertical distance in pixels from the top edge of the component to the anchor target's top edge.

By default the anchor target is the container's content area. In layouts with advanced constraints, the target can be a constraint row.

Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.

To specify an anchor target, set the property value to a string in the format "anchorTargetName:value". For example, "row1:10".



구현
    public function get top():Object
    public function set top(value:Object):void

transform

속성 
transform:flash.geom:Transform

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

표시 객체의 행렬, 색상 변환 및 픽셀 경계와 관련된 속성을 가진 객체입니다. 특수 속성인 matrix, colorTransform 및 세 가지 읽기 전용 속성(concatenatedMatrix, concatenatedColorTransformpixelBounds)은 Transform 클래스에 대한 항목에 설명되어 있습니다.

transform 객체의 각 속성들은 그 자체가 객체입니다. matrix 또는 colorTransform 객체에 새 값을 설정하는 방법은 새 객체를 만들고 해당 객체를 transform.matrix 또는 transform.colorTransform 속성에 복사하는 방법 한 가지뿐이므로 이 사항은 매우 중요합니다.

예를 들어 표시 객체 행렬의 tx 값을 늘리려면 전체 행렬 객체의 복사본을 만들고 새 객체를 변환 객체의 행렬 속성에 복사해야 합니다.


    var myMatrix:Matrix = myDisplayObject.transform.matrix;  
    myMatrix.tx += 10; 
    myDisplayObject.transform.matrix = myMatrix;  
    

tx 속성은 직접 설정할 수 없습니다. 다음 코드는 myDisplayObject에 아무런 영향을 주지 않습니다.


    myDisplayObject.transform.matrix.tx += 10;
    

또한 전체 변환 객체를 복사하여 이 객체를 다른 표시 객체의 변환 속성에 지정할 수도 있습니다. 예를 들어 다음 코드에서는 전체 변환 객체를 myOldDisplayObj에서 myNewDisplayObj로 복사합니다.

myNewDisplayObj.transform = myOldDisplayObj.transform;

이제 결과 표시 객체인 myNewDisplayObj의 행렬, 색상 변환 및 픽셀 경계에 대한 값은 이전 표시 객체인 myOldDisplayObj의 값과 같습니다.

AIR for TV 장치는 하드웨어 가속을 사용할 수 있는 경우 색상 변환에 하드웨어 가속을 자동으로 사용합니다.



구현
    public function get transform():flash.geom:Transform
    public function set transform(value:flash.geom:Transform):void

transformX

속성 
transformX:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The x position transform point of the element.



구현
    public function get transformX():Number
    public function set transformX(value:Number):void

transformY

속성 
transformY:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The y position transform point of the element.



구현
    public function get transformY():Number
    public function set transformY(value:Number):void

transformZ

속성 
transformZ:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The z position transform point of the element.



구현
    public function get transformZ():Number
    public function set transformZ(value:Number):void

verticalCenter

속성 
verticalCenter:Object

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The vertical distance in pixels from the center of the component to the center of the anchor target's content area.

The default anchor target is the container itself.

In layouts with advanced constraints, the anchor target can be a constraint row. Then the content area is the space between the preceding row (or container side) and the target row.

Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.

To specify an anchor target, set the property value to a string in the format "constraintColumnId:value". For example, "row1:10".



구현
    public function get verticalCenter():Object
    public function set verticalCenter(value:Object):void

visible

속성 
visible:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Controls the visibility of this visual element. If true, the object is visible.

If an object is not visible, but the includeInLayout property is set to true, then the object takes up space in the container, but is invisible.

If visible is set to true, the object may not necessarily be visible due to its size and whether container clipping is enabled.

Setting visible to false, prevents the component from getting focus.



구현
    public function get visible():Boolean
    public function set visible(value:Boolean):void

width

속성 
width:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The width of the graphic element.

기본값: 0.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get width():Number
    public function set width(value:Number):void

x

속성 
x:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The x position of the graphic element.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get x():Number
    public function set x(value:Number):void

y

속성 
y:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The y position of the graphic element.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get y():Number
    public function set y(value:Number):void

z

속성 
z:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

The z position of the graphic element.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get z():Number
    public function set z(value:Number):void
메서드 세부 정보

canShareWithNext

()메서드
public function canShareWithNext(element:IGraphicElement):Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns true if this IGraphicElement is compatible and can share display objects with the next IGraphicElement in the sequence.

매개 변수

element:IGraphicElement — The element that comes after this element in the sequence.

반환값
Boolean — Returns true when this element is compatible with the previous element in the sequence.

canShareWithPrevious

()메서드 
public function canShareWithPrevious(element:IGraphicElement):Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns true if this IGraphicElement is compatible and can share display objects with the previous IGraphicElement in the sequence.

In certain cases the element might be passed to the IGraphicElementContainer in a call to the setSharedDisplayObject() method. In those cases, this method is not called.

매개 변수

element:IGraphicElement — The element that comes before this element in the sequence.

반환값
Boolean — Returns true when this element is compatible with the previous element in the sequence.

canSkipMeasurement

()메서드 
protected function canSkipMeasurement():Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Determines if the call to the measure() method can be skipped.

반환값
Boolean — Returns true when the measureSizes() method can skip the call to the measure() method. For example this is usually true when both the explicitWidth and explicitHeight properties are set. For paths, this is true when the bounds of the path have not changed.

commitProperties

()메서드 
protected function commitProperties():void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Processes the properties set on the element. This is an advanced method that you might override when creating a subclass.

You do not call this method directly. Flex calls the commitProperties() method when you use the addElement() method to add an element to an IGraphicElementContainer container such as Group, or when you call the invalidateProperties() method of the element. Calls to the commitProperties() method occur before calls to the measure() method. This lets you set property values that might be used by the measure() method.

Some elements have properties that interact with each other. It is often best at startup time to process all of these properties at one time to avoid duplicating work.

createDisplayObject

()메서드 
public function createDisplayObject():DisplayObject

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Creates a new DisplayObject where this IGraphicElement is drawn.

Subsequent calls to the getter of the displayObject property must return the same display object.

After the DisplayObject is created, the parent IGraphicElementContainer will pass along the display objects to the rest of the elements in the sequence.

The IGraphicElementContainer ensures that this method is called only when needed.

If the element wants to participate in the DisplayObject sharing, then the new DisplayObject must implement IShareableDisplayObject. This interface is being used by the IGraphicElementContainer to manage invalidation and redrawing of the graphic element sequence and typically is not directly used by the developer.

To reevaluate the shared sequences, call the invalidateGraphicElementSharing() method on the IGraphicElementContainer.

To force the IGraphicElementContainer to remove the element's current DisplayObject from its display list and recalculate the display object sharing, call the discardDisplayObject() method on the IGraphicElementContainer.

반환값
DisplayObject — The display object created.

getBoundsXAtSize

()메서드 
public function getBoundsXAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the x coordinate of the element's bounds at the specified element size.

This method is typically used by layouts during a call to the measure() method to predict what the element position will be, if the element is resized to particular dimensions.

매개 변수

width:Number — The element's bounds width, or NaN to use the preferred width.
 
height:Number — The element's bounds height, or NaN to use the preferred height.
 
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns x coordinate of the element's bounding box top-left corner. The bounding box is in element's parent coordinate space and is calculated from the specified bounds size, layout position and layout transform matrix.

반환값
Number — The x coordinate of the element's bounds at the specified element size.

getBoundsYAtSize

()메서드 
public function getBoundsYAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the y coordinate of the element's bounds at the specified element size. This method is typically used by layouts during a call to the measure() to predict what the element position will be, if the element is resized to particular dimensions.

매개 변수

width:Number — The element's bounds width, or NaN to use the preferred width.
 
height:Number — The element's bounds height, or NaN to use the preferred height.
 
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the y coordinate of the element's bounding box top-left corner. The bounding box is in element's parent coordinate space and is calculated from the specified bounds size, layout position and layout transform matrix.

반환값
Number — The y coordinate of the element's bounds at the specified element size.

getLayoutBoundsHeight

()메서드 
public function getLayoutBoundsHeight(postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the element's layout height. This is the size that the element uses to draw on screen.

매개 변수

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box width. The bounding box is in the element's parent coordinate space and is calculated from the element's layout size and layout transform matrix.

반환값
Number — The element's layout height.

getLayoutBoundsWidth

()메서드 
public function getLayoutBoundsWidth(postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the element's layout width. This is the size that the element uses to draw on screen.

매개 변수

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box width. The bounding box is in element's parent coordinate space and is calculated from the element's layout size and layout transform matrix.

반환값
Number — The element's layout width.

getLayoutBoundsX

()메서드 
public function getLayoutBoundsX(postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the x coordinate that the element uses to draw on screen.

매개 변수

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns x coordinate of the element's bounding box top-left corner. The bounding box is in the element's parent coordinate space and is calculated from the element's layout size, layout position and layout transform matrix.

반환값
Number — The x coordinate that the element uses to draw on screen.

getLayoutBoundsY

()메서드 
public function getLayoutBoundsY(postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the y coordinate that the element uses to draw on screen.

매개 변수

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns y coordinate of the element's bounding box top-left corner. The bounding box is in the element's parent coordinate space and is calculated from the element's layout size, layout position, and layout transform matrix.

반환값
Number — The y coordinate that the element uses to draw on screen.

getLayoutMatrix

()메서드 
public function getLayoutMatrix():Matrix

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the transform matrix that is used to calculate the component's layout relative to its siblings.

This matrix is typically defined by the component's 2D properties such as x, y, rotation, scaleX, scaleY, transformX, and transformY. Some components may have additional transform properties that are applied on top of the layout matrix to determine the final, computed matrix. For example UIComponent defines the offsets property.

반환값
Matrix — The layout transform Matrix for this element. Do not directly modify the return value; call the setLayoutMatrix() method instead.

getLayoutMatrix3D

()메서드 
public function getLayoutMatrix3D():Matrix3D

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the layout transform Matrix3D for this element.

This matrix is typically defined by the component's transform properties such as x, y, z, rotationX, rotationY, rotationZ, scaleX, scaleY, scaleZ, transformX, and transformY. Some components may have additional transform properties that are applied on top of the layout matrix to determine the final, computed matrix. For example UIComponent defines the offsets property.

반환값
Matrix3D — The layout transform Matrix3D for this element. Do not directly modify the return value but call the setLayoutMatrix() method instead.

getMaxBoundsHeight

()메서드 
public function getMaxBoundsHeight(postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the element's maximum height.

매개 변수

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box height. The bounding box is in the element's parent coordinate space and is calculated from the element's maximum size and layout transform matrix.

반환값
Number — The element's maximum height.

getMaxBoundsWidth

()메서드 
public function getMaxBoundsWidth(postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the element's maximum width.

매개 변수

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box width. The bounding box is in the element's parent coordinate space and is calculated from the element's maximum size and layout transform matrix.

반환값
Number — The element's maximum width.

getMinBoundsHeight

()메서드 
public function getMinBoundsHeight(postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the element's minimum height.

매개 변수

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box height. The bounding box is in the element's parent coordinate space and is calculated from the element's minimum size and layout transform matrix.

반환값
Number — The element's maximum height.

getMinBoundsWidth

()메서드 
public function getMinBoundsWidth(postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the element's minimum width.

매개 변수

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box width. The bounding box is in the element's parent coordinate space and is calculated from the element's minimum size and layout transform matrix.

반환값
Number — The element's maximum width.

getPreferredBoundsHeight

()메서드 
public function getPreferredBoundsHeight(postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the element's preferred height.

매개 변수

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box height. The bounding box is in the element's parent coordinate space and is calculated from the element's preferred size and layout transform matrix.

반환값
Number — Returns the element's preferred height. Preferred height is usually based on the default element size and any explicit overrides. For UIComponent this is the same value as returned by the getExplicitOrMeasuredHeight() method.

getPreferredBoundsWidth

()메서드 
public function getPreferredBoundsWidth(postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the element's preferred width.

매개 변수

postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns the element's bounding box width. The bounding box is in the element's parent coordinate space and is calculated from the element's preferred size and layout transform matrix.

반환값
Number — Returns the element's preferred width. Preferred width is usually based on the default element size and any explicit overrides. For UIComponent this is the same value as returned by the getExplicitOrMeasuredWidth() method.

getStrokeExtents

()메서드 
protected function getStrokeExtents(postLayoutTransform:Boolean = true):Rectangle

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Returns the amount of pixels occupied by the stroke on each side of the element's bounds.

매개 변수

postLayoutTransform:Boolean (default = true) — If true, the stroke extents are calculated in parent coordinate space (after applying the element's transformations).

반환값
Rectangle — Rectangle of the stroke extents. The rectangle's left, right, top and bottom properties represent the stroke extent for the respective side of the element's bounding box.

initialized

()메서드 
public function initialized(document:Object, id:String):void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Called automatically by the MXML compiler when the GraphicElement is created using an MXML tag. If you create the GraphicElement through ActionScript you must set the id property manually.

매개 변수

document:Object — The MXML document containing this GraphicElement (not used).
 
id:String — The MXML id for this GraphicElement.

invalidateDisplayList

()메서드 
public function invalidateDisplayList():void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Calling this method results in a call to the elements's validateDisplayList() method before the display list is rendered.

Subclasses should override and do their work in updateDisplayList().

invalidateDisplayObjectSharing

()메서드 
protected function invalidateDisplayObjectSharing():void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Utility method that notifies the host that this element has changed and needs its layer to be updated.

invalidateLayoutDirection

()메서드 
public function invalidateLayoutDirection():void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

An element must call this method when its layoutDirection changes or when its parent's layoutDirection changes. If they differ, this method is responsible for mirroring the element’s contents and for updating the element’s post-layout transform so that descendants inherit a mirrored coordinate system. IVisualElements typically implement mirroring by using postLayoutTransformOffsets to scale the X axis by -1 and to translate the x coordinate of the origin by the element's width. The net effect of this "mirror" transform is to reverse the direction in which the X axis increases without changing the element's location relative to its parent's origin.

invalidateParentSizeAndDisplayList

()메서드 
protected function invalidateParentSizeAndDisplayList():void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Helper method to invalidate parent size and display list if this object affects its layout (includeInLayout is true).

invalidateProperties

()메서드 
public function invalidateProperties():void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Calling this method results in a call to the elements's validateProperties() method before the display list is rendered.

Subclasses should do their work in commitProperties().

invalidateSize

()메서드 
public function invalidateSize():void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Calling this method results in a call to the elements's validateSize() method before the display list is rendered.

Subclasses should override and do their measurement in measure(). By default when explicitWidth and explicitHeight are set, measure() will not be called. To override this default behavior subclasses should override skipMeasure().

localToGlobal

()메서드 
public function localToGlobal(point:Point):Point

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Converts the point object from the object's (local) coordinates to the Stage (global) coordinates.

This method allows you to convert any given x and y coordinates from values that are relative to the origin (0,0) of a specific object (local coordinates) to values that are relative to the origin of the Stage (global coordinates).

To use this method, first create an instance of the Point class. The x and y values that you assign represent local coordinates because they relate to the origin of the object.

You then pass the Point instance that you created as the parameter to the localToGlobal() method. The method returns a new Point object with x and y values that relate to the origin of the Stage instead of the origin of the object.

매개 변수

point:Point — The name or identifier of a point created with the Point class, specifying the x and y coordinates as properties.

반환값
Point — A Point object with coordinates relative to the Stage.

관련 API 요소

measure

()메서드 
protected function measure():void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Calculates the default size of the element. This is an advanced method that you might override when creating a subclass of GraphicElement.

You do not call this method directly. Flex calls the measure() method when the element is added to an IGraphicElementContainer container such as Group using the addElement() method, and when the element's invalidateSize() method is called.

By default you set both explicit height and explicit width of an element, Flex does not call the measure() method, even if you explicitly call the invalidateSize() method. To override this behavior, override skipMeasure() method.

In your override of this method, you must set the measuredWidth and measuredHeight properties to define the default size. You can optionally set the measuredX and measuredY properties to define the default measured bounds top-left corner relative to the origin of the element.

The conceptual point of measure() is for the element to provide its own natural or intrinsic bounds as a default. Therefore, the measuredWidth and measuredHeight properties should be determined by factors such as:

  • The amount of text the component needs to display.
  • The size of a JPEG image that the component displays.

In some cases, there is no intrinsic way to determine default values. For example, a simple GreenCircle element might simply set measuredWidth = 100 and measuredHeight = 100 in its measure() method to provide a reasonable default size. In other cases, such as a TextArea, an appropriate computation (such as finding the right width and height that would just display all the text and have the aspect ratio of a Golden Rectangle) might be too time-consuming to be worthwhile.

The default implementation of measure() sets the values of the measuredWidth, measuredHeight, measuredX, and measuredY properties to 0.

parentChanged

()메서드 
public function parentChanged(value:IGraphicElementContainer):void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Called by IGraphicElementContainer when an IGraphicElement is added to or removed from the host component.

You typically never need to call this method.

매개 변수

value:IGraphicElementContainer — The IGraphicElementContainer of this IGraphicElement.

preferredHeightPreTransform

()메서드 
protected function preferredHeightPreTransform():Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Used for the implementation of the ILayoutElement interface, returns the explicit measured height pre-transform.

반환값
Number — The explicit measured height, pre-transform.

preferredWidthPreTransform

()메서드 
protected function preferredWidthPreTransform():Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Used for the implementation of the ILayoutElement interface, returns the explicit of measured width pre-transform.

반환값
Number — The explicit measured height, pre-transform.

setLayoutBoundsPosition

()메서드 
public function setLayoutBoundsPosition(newBoundsX:Number, newBoundsY:Number, postLayoutTransform:Boolean = true):void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Sets the coordinates that the element uses to draw on screen.

Note that calls to the setLayoutBoundSize() method can affect the layout position, so call setLayoutBoundPosition() after calling setLayoutBoundSize().

매개 변수

newBoundsX:Number — The x-coordinate of the top-left corner of the bounding box.
 
newBoundsY:Number — The y-coordinate of the top-left corner of the bounding box.
 
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the element is positioned in such a way that the top-left corner of its bounding box is (x, y). The bounding box is in the element's parent coordinate space and is calculated from the element's layout size, layout position and layout transform matrix.

setLayoutBoundsSize

()메서드 
public function setLayoutBoundsSize(width:Number, height:Number, postLayoutTransform:Boolean = true):void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Sets the layout size of the element. This is the size that the element uses to draw on screen.

If the width and/or height parameters are left unspecified (NaN), Flex sets the element's layout size to its preferred width and/or preferred height.

Note that calls to the setLayoutBoundSize() method can affect the layout position, so call setLayoutBoundPosition() after calling setLayoutBoundSize().

매개 변수

width:Number — The element's layout width.
 
height:Number — The element's layout height.
 
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the specified sizes are those of the element's bounding box. The bounding box is in the element's parent coordinate space and is calculated from the element's layout size, layout position, and layout transform matrix.

setLayoutMatrix

()메서드 
public function setLayoutMatrix(value:Matrix, invalidateLayout:Boolean):void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Sets the transform Matrix that is used to calculate the component's layout size and position relative to its siblings.

The matrix is typically defined by the component's 2D properties such as x, y, rotation, scaleX, scaleY, transformX, and transformY. Some components may have additional transform properties that are applied on top of the layout matrix to determine the final, computed matrix. For example UIComponent defines the offsets.

Note that layout Matrix is factored in the getPreferredSize(), getMinSize(), getMaxSize(), getLayoutSize() methods when computed in parent coordinates as well as in getLayoutPosition() in both parent and child coordinates. Layouts that calculate the transform matrix explicitly typically call this method and work with sizes in child coordinates. Layouts calling this method pass false to the invalidateLayout() method so that a subsequent layout pass is not triggered.

매개 변수

value:Matrix — The matrix.
 
invalidateLayout:Booleantrue to cause the parent container to re-layout its children. You typically pass true to the invalidateLayout() method.

setLayoutMatrix3D

()메서드 
public function setLayoutMatrix3D(value:Matrix3D, invalidateLayout:Boolean):void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Sets the transform Matrix3D that is used to calculate the component's layout size and position relative to its siblings.

This matrix is typically defined by the component's transform properties such as x, y, z, rotationX, rotationY, rotationZ, scaleX, scaleY, scaleZ, transformX, and transformY. Some components may have additional transform properties that are applied on top of the layout matrix to determine the final, computed matrix. For example UIComponent defines the offsets property.

Note that layout Matrix3D is factored in the getPreferredSize(), getMinSize(), getMaxSize(), getLayoutSize() when computed in parent coordinates as well as in getLayoutPosition() in both parent and child coordinates. Layouts that calculate the transform matrix explicitly typically call this method and work with sizes in child coordinates. Layouts calling this method pass false to the invalidateLayout() method so that a subsequent layout pass is not triggered.

매개 변수

value:Matrix3D — The matrix.
 
invalidateLayout:Booleantrue to cause the parent container to re-layout its children. You typically pass true to the invalidateLayout() method.

setSharedDisplayObject

()메서드 
public function setSharedDisplayObject(sharedDisplayObject:DisplayObject):Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Determines whether this element can draw itself to the sharedDisplayObject of the sequence.

Typically implementers return true when this IGraphicElement can cumulatively draw in the shared DisplayObject graphics property. In all cases where this IGraphicElement needs to set properties on the DisplayObjects that don't apply to the rest of the elements in the sequence, this method must return false. Examples for such properties are rotation, scale, transform, mask, alpha, filters, color transform, 3D, and layer.

When this method returns true, subsequent calls to the getter of the displayObject property must return the same display object.

In certain cases, the sharedDisplayObject property might be the IGraphicElementContainer itself. In the rest of the cases, the DisplayObject is created by the first element in the sequence.

When this IGraphicElement needs to rebuild its sequence, it notifies the IGraphicElementContainer by calling its invalidateGraphicElementSharing() method.

매개 변수

sharedDisplayObject:DisplayObject — The shared DisplayObject.

반환값
Boolean — Returns true when this IGraphicElement can draw itself to the shared DisplayObject of the sequence.

transformAround

()메서드 
public function transformAround(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

A utility method to update the rotation, scale, and translation of the transform while keeping a particular point, specified in the component's own coordinate space, fixed in the parent's coordinate space. This function will assign the rotation, scale, and translation values provided, then update the x/y/z properties as necessary to keep the transform center fixed.

매개 변수

transformCenter:Vector3D — The point, in the component's own coordinates, to keep fixed relative to its parent.
 
scale:Vector3D (default = null) — The new values for the scale of the transform.
 
rotation:Vector3D (default = null) — the new values for the rotation of the transform
 
translation:Vector3D (default = null) — The new values for the translation of the transform.
 
postLayoutScale:Vector3D (default = null) — The new values for the post-layout scale of the transform.
 
postLayoutRotation:Vector3D (default = null) — The new values for the post-layout rotation of the transform.
 
postLayoutTranslation:Vector3D (default = null) — The new values for the post-layout translation of the transform.
 
invalidateLayout:Boolean (default = true) — If true, the parent container size and display are invalidated. Layouts calling this method pass false so that a subsequent layout pass is not triggered.

transformHeightForLayout

()메서드 
protected function transformHeightForLayout(width:Number, height:Number, postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Transform the element's size.

This method calculates the bounding box of the graphic element as if the element’s width/height properties were set to the passed in values. The method returns the height of the bounding box.

In general, this method is not for use by developers. Instead, you should implement or override the methods defined by the ILayoutElement interface.

매개 변수

width:Number — The target pre-transform width.
 
height:Number — The target pre-transform height.
 
postLayoutTransform:Boolean (default = true) — When true, the returned bounding box is around the transformed element in its parent space (the element's transform is applied first).

반환값
Number — Returns the transformed height. Transformation is this element's layout transformation matrix.

transformPointToParent

()메서드 
public function transformPointToParent(localPosition:Vector3D, position:Vector3D, postLayoutPosition:Vector3D):void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

A utility method to transform a point specified in the local coordinates of this object to its location in the object's parent's coordinates. The pre-layout and post-layout result will be set on the position and postLayoutPosition parameters, if they are non-null.

매개 변수

localPosition:Vector3D — The point to be transformed, specified in the local coordinates of the object.
 
position:Vector3D — A Vector3D point that will hold the pre-layout result. If null, the parameter is ignored.
 
postLayoutPosition:Vector3D — A Vector3D point that will hold the post-layout result. If null, the parameter is ignored.

transformWidthForLayout

()메서드 
protected function transformWidthForLayout(width:Number, height:Number, postLayoutTransform:Boolean = true):Number

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Transform the element's size.

This method calculates the bounding box of the graphic element as if the element’s width/height properties were set to the passed in values. The method returns the width of the bounding box.

In general, this method is not for use by developers. Instead, you should implement or override the methods defined by the ILayoutElement interface.

매개 변수

width:Number — The target pre-transform width.
 
height:Number — The target pre-transform height.
 
postLayoutTransform:Boolean (default = true) — When true, the returned bounding box is around the transformed element in its parent space (the element's transform is applied first).

반환값
Number — Returns the transformed width. Transformation is this element's layout transformation matrix.

updateDisplayList

()메서드 
protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Draws the element and/or sizes and positions its content. This is an advanced method that you might override when creating a subclass of GraphicElement.

You do not call this method directly. Flex calls the updateDisplayList() method when the component is added to an IGraphicElementContainer container such as Group using the addElement() method, and when the element's invalidateDisplayList() method is called.

This method is where you would do programmatic drawing using methods on the elements's displayObject such as graphics.drawRect().

매개 변수

unscaledWidth:Number — Specifies the width of the component, in pixels, in the component's coordinates, regardless of the value of the scaleX property of the component.
 
unscaledHeight:Number — Specifies the height of the component, in pixels, in the component's coordinates, regardless of the value of the scaleY property of the component.

validateDisplayList

()메서드 
public function validateDisplayList():void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Called by the IGraphicElementContainer to redraw this element in its displayObject property.

If the element is the first in the sequence (displayObjectSharingMode is set to DisplayObjectSharingMode.OWNS_SHARED_OBJECT) then it must clear the displayObject graphics and set it up as necessary for drawing the rest of the elements.

The element must alway redraw even if it itself has not changed since the last time the validateDisplayList() method was called. The parent IGraphicElementContainer will redraw the whole sequence if any of its elements need to be redrawn.

To ensure this method is called, notify the IGraphicElementContainer by calling its invalidateGraphicElementSize() method.

This method might be called even if this element has not notified the IGraphicElementContainer.

validateNow

()메서드 
public function validateNow():void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Validates and updates the properties and layout of this object by immediately calling validateProperties(), validateSize(), and validateDisplayList(), if necessary.

validateProperties

()메서드 
public function validateProperties():void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Used by layout logic to validate the properties of a component by calling the commitProperties() method. In general, subclasses should override the commitProperties() method and not this method.

validateSize

()메서드 
public function validateSize():void

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Called by the IGraphicElementContainer to validate the size of this element.

When the size of the element changes and is going to affect the IGraphicElementContainer layout, the implementer is responsible for invalidating the parent's size and display list.

To ensure that this method is called, notify the IGraphicElementContainer by calling its invalidateGraphicElementSize() method.

This method might be called even if this element has not notified the IGraphicElementContainer.





[ X ]영어로 표시되는 이유
ActionScript 3.0 참조 설명서의 내용이 영어로 나타납니다.

ActionScript 3.0 참조 설명서 중 일부는 전체 언어로 번역되지 않았습니다. 언어 요소가 번역되지 않은 경우 영어로 나타납니다. 예를 들어 ga.controls.HelpBox 클래스는 어떤 언어로도 번역되지 않았습니다. 그러므로 한국어 버전의 참조 설명서에서 ga.controls.HelpBox 클래스는 영어로 나타납니다.