Class: Wx::StaticBitmap::ScaleMode

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

Overview

Specify how the bitmap should be scaled in the control.

See Also:

Requires:

  • USE_STATBMP

Constant Summary collapse

Scale_None =

The bitmap is displayed in original size.

Wx::StaticBitmap::ScaleMode.new(0)
Scale_Fill =

Scale the bitmap to fit the size of the control by changing the aspect ratio of the bitmap if necessary.

Wx::StaticBitmap::ScaleMode.new(1)
Scale_AspectFit =

Scale the bitmap to fit the size of the control by maintaining the aspect ratio.

Wx::StaticBitmap::ScaleMode.new(2)
Scale_AspectFill =

Scale the bitmap to fill the size of the control.

Wx::StaticBitmap::ScaleMode.new(3)

Method Summary

Methods inherited from Enum

#!, #&, #<=>, [], #allbits?, #anybits?, #coerce, enumerators, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, non_distinct, #real?, set_non_distinct, #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