Class: Wx::SF::ShapeCanvas::STYLE

Inherits:
Enum
  • Object
show all
Defined in:
lib/wx/shapes/shape_canvas.rb

Overview

Style flags

Constant Summary collapse

MULTI_SELECTION =

Allow multiselection box.

self.new(1)
MULTI_SIZE_CHANGE =

Allow shapes’ size change done via the multiselection box.

self.new(2)
GRID_SHOW =

Show grid.

self.new(4)
GRID_USE =

Use grid.

self.new(8)
DND =

Enable Drag & Drop operations.

self.new(16)
UNDOREDO =

Enable Undo/Redo operations.

self.new(32)
CLIPBOARD =

Enable the clipboard.

self.new(64)
HOVERING =

Enable mouse hovering

self.new(128)
HIGHLIGHTING =

Enable highlighting of shapes able to accept dragged shape(s).

self.new(256)
GRADIENT_BACKGROUND =

Use gradient color for the canvas background.

self.new(512)
self.new(1024)
PROCESS_MOUSEWHEEL =

Process mouse wheel by the canvas (canvas scale will be changed).

self.new(2048)
DEFAULT_CANVAS_STYLE =

Default canvas style.

MULTI_SELECTION | MULTI_SIZE_CHANGE | DND | UNDOREDO | CLIPBOARD | HOVERING | HIGHLIGHTING

Method Summary

Methods inherited from Enum

#init_from_serialized