mx.core

# IRectangularBorder - AS3 Flex

Package | mx.core
Interface | public interface IRectangularBorder extends IBorder
Implementors | BorderSkin, PanelBorderSkin, PanelBorderSkin, RectangularBorder, WindowedApplicationSkin

Language Version: | ActionScript 3.0

Product Version: | Flex 3

Runtime Versions: | Flash Player 9, AIR 1.1

The IRectangularBorder interface defines the interface that all classes used for rectangular border skins should implement.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | backgroundImageBounds : Rectangle Rectangular area within which to draw the background image. | IRectangularBorder
|  | borderMetrics : EdgeMetrics [read-only] Returns an EdgeMetrics object for the border that has four properties: left, top, right, and bottom. | IBorder
|  | hasBackgroundImage : Boolean [read-only] Contains true if the RectangularBorder instance contains a background image. | IRectangularBorder

Public Methods

| Method | Defined By
--- | --- | ---
|  | layoutBackgroundImage():void Layout the background image. | IRectangularBorder

Property Detail

### backgroundImageBounds

property

`backgroundImageBounds:Rectangle`

Language Version: | ActionScript 3.0

Product Version: | Flex 3

Runtime Versions: | Flash Player 9, AIR 1.1

Rectangular area within which to draw the background image. This can be larger than the dimensions of the border if the parent container has scrollable content. If this property is null, the border can use the parent's size and `viewMetrics` property to determine its value.

Implementation
`public function get backgroundImageBounds():Rectangle`
`public function set backgroundImageBounds(value:Rectangle):void`

### hasBackgroundImage

property

`hasBackgroundImage:Boolean` [read-only]

Language Version: | ActionScript 3.0

Product Version: | Flex 3

Runtime Versions: | Flash Player 9, AIR 1.1

Contains `true` if the RectangularBorder instance contains a background image.

Implementation
`public function get hasBackgroundImage():Boolean`
Method Detail

### layoutBackgroundImage

()
method

`public function layoutBackgroundImage():void`

Language Version: | ActionScript 3.0

Product Version: | Flex 3

Runtime Versions: | Flash Player 9, AIR 1.1

Layout the background image.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00