There is an example.
The component PatternRectangularBorder can be used as background for such containers as Application, Canvas, HBox, VBox, Form etc. It based on RectangularBorder and BitmapData classes from Flex 2 SDK and works more natural then CSS image patterns in WSBackgroundPixelSkin component.
The component supports base Container’s style property background-image, also it extends that one by a new style property background-repeat which is usually used in HTML CSS. Possible values are
- repeat
- repeat-x
- repeat-y
I was unable to extend RectangularBorder because it’s totally private so copy-past way is a solution here for me.
The class is located in Go!Verla Library.
List of related links
