Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
IRectangularBorder

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

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.

Sun Mar 5 2017, 03:42 PM +11:00