Class: Fox::FXFontDesc

Inherits:
Object
  • Object
show all
Defined in:
rdoc-sources/FXFont.rb

Overview

Font style

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFXFontDesc

Constructor



35
# File 'rdoc-sources/FXFont.rb', line 35

def initialize ; end

Instance Attribute Details

#encodingObject

Character set encoding, such as FONTENCODING_ISO_8859_1 or FONTENCODING_LATIN1 [Integer]. See FXFont documentation for the complete list of character set encoding values.



23
24
25
# File 'rdoc-sources/FXFont.rb', line 23

def encoding
  @encoding
end

#faceObject

Typeface name, such as “helvetica” [String]



8
9
10
# File 'rdoc-sources/FXFont.rb', line 8

def face
  @face
end

#flagsObject

Flags [Integer]



30
31
32
# File 'rdoc-sources/FXFont.rb', line 30

def flags
  @flags
end

#setwidthObject

Font set width, such as FONTSETWIDTH_CONDENSED or FONTSETWIDTH_WIDE [Integer]. See FXFont documentation for the complete list of font set width values.



27
28
29
# File 'rdoc-sources/FXFont.rb', line 27

def setwidth
  @setwidth
end

#sizeObject

Font size in decipoints [Integer]



11
12
13
# File 'rdoc-sources/FXFont.rb', line 11

def size
  @size
end

#slantObject

Font slant, such as FONTSLANT_REGULAR or FONTSLANT_ITALIC [Integer]. See FXFont documentation for the complete list of font slant values.



19
20
21
# File 'rdoc-sources/FXFont.rb', line 19

def slant
  @slant
end

#weightObject

Font weight, such as FONTWEIGHT_NORMAL or FONTWEIGHT_BOLD [Integer]. See FXFont documentation for the complete list of font weight values.



15
16
17
# File 'rdoc-sources/FXFont.rb', line 15

def weight
  @weight
end