VisualuRuby(tmp) Reference

FontStruct

Coloring : swin class : vruby class

Class Hierarchy

Including Modules

none

Child classes or Classes/Modules including this

none

vr/rscutil.rb

FontStruct

Subclass of Struct for representing text attributes.

Attributes

fontface
height
style
weight
width
escapement
orientation
pitch_family
charset
point
color

Class Method

new2(args)
Use new2 instead of new.

Methods

params
Returns parameters that can be used for parameter of SWin::LWFactory.newfont()
spec
Returns text attributes for parameter of SWin::CommonDialog.chooseFont
bold?
Returns whether the attributes means bold style
bold=(flag)
Sets or resets bold style.
italic?
Returns whether the attributes means italic style
italic=(flag)
Sets or resets italic style.
underlined?
Returns whether the attributes means underline style
underlined=(flag)
Sets or resets underline style.
striked?
Returns whether the attributes means strike-out style
striked=(flag)
Sets or resets strike-out style.

VisualuRuby(tmp) Reference Index : Project HomePage(English) : Project HomePage(Japanese) : Sourceforge vruby page
Generated at Sun Feb 24 01:28:51 +0900 2008