Microsoft SDK for Java

PenStyle Class

Defines constants for the seven built-in pen styles supported by the Windows operating system.

Enum 
  |
  +--PenStyle

package com.ms.wfc.ui

public class PenStyle
extends
Enum

Remarks

When you create a Pen object, you can associate one of the styles that this class defines with that pen. The following example illustrates how to create a Pen object, specifying a DASH style. When a Pen based on this style is used to draw lines, the lines consist of an evenly spaced series of dashes.


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