FxShapes Sample

This sample is located in \Samples\afc11\FxShapes.

Description
Using the Sample
Key Project Files
Technologies Demonstrated

Description

This sample shows the various pen lines, shapes, and styles provided by the com.ms.fx package. The sample displays a panel that contains the following components:

Using the Sample

To use the sample

You can manipulate the sample’s components by performing the following actions:

Key Project Files

BtnPanel.java

This class extends UIPanel and implements SDKConsts and IFxTextConstants. Its controls allow you to select the kind of object to be drawn, and the pen's texture and width.

PaintPnl.java

This class extends UIPanel and implements SDKConsts and IFxTextConstants. It creates the pens, formatted text, and the Test Area that displays the result of selected options.

Technologies Demonstrated

AFC

© 1999 Microsoft Corporation. All rights reserved. Terms of use.