Class: Wx::PenStyle

Inherits:
Enum
  • Object
show all
Defined in:
lib/wx/doc/gen/pen.rb

Overview

The possible styles for a Pen.

Note that hatched pen styles are not supported by X11-based ports, including WXGTK.

Constant Summary collapse

PENSTYLE_INVALID =
Wx::PenStyle.new(-1)
PENSTYLE_SOLID =

Solid style.

Wx::PenStyle.new(100)
PENSTYLE_DOT =

Dotted style.

Wx::PenStyle.new(101)
PENSTYLE_LONG_DASH =

Long dashed style.

Wx::PenStyle.new(102)
PENSTYLE_SHORT_DASH =

Short dashed style.

Wx::PenStyle.new(103)
PENSTYLE_DOT_DASH =

Dot and dash style.

Wx::PenStyle.new(104)
PENSTYLE_USER_DASH =

Use the user dashes: see Wx::Pen#set_dashes.

Wx::PenStyle.new(105)
PENSTYLE_TRANSPARENT =

No pen is used.

Wx::PenStyle.new(106)
PENSTYLE_STIPPLE_MASK_OPAQUE =
Wx::PenStyle.new(107)
PENSTYLE_STIPPLE_MASK =
Wx::PenStyle.new(108)
PENSTYLE_STIPPLE =

Use the stipple bitmap.

Wx::PenStyle.new(110)
PENSTYLE_BDIAGONAL_HATCH =

Backward diagonal hatch.

Wx::PenStyle.new(111)
PENSTYLE_CROSSDIAG_HATCH =

Cross-diagonal hatch.

Wx::PenStyle.new(112)
PENSTYLE_FDIAGONAL_HATCH =

Forward diagonal hatch.

Wx::PenStyle.new(113)
PENSTYLE_CROSS_HATCH =

Cross hatch.

Wx::PenStyle.new(114)
PENSTYLE_HORIZONTAL_HATCH =

Horizontal hatch.

Wx::PenStyle.new(115)
PENSTYLE_VERTICAL_HATCH =

Vertical hatch.

Wx::PenStyle.new(116)
PENSTYLE_FIRST_HATCH =

First of the hatch styles (inclusive).

Wx::PenStyle.new(111)
PENSTYLE_LAST_HATCH =

Last of the hatch styles (inclusive).

Wx::PenStyle.new(116)

Method Summary

Methods inherited from Enum

#!, #&, #<=>, #allbits?, #anybits?, #coerce, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, #real?, #succ, #to_int, #to_s, #|, #~

Constructor Details

This class inherits a constructor from Wx::Enum

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Wx::Enum