Module BaseDoc :: Class GraphicsStyle
[frames] | no frames]

Class GraphicsStyle

source code

Defines the properties of graphics objects, such as line width, color, fill, ect.

Instance Methods
 
__init__(self, obj=None)
Initialize the object with default values, unless a source object is specified.
source code
 
set_line_width(self, val)
sets the line width
source code
 
get_line_width(self)
Return the name of the StyleSheet
source code
 
get_line_style(self) source code
 
set_line_style(self, val) source code
 
set_paragraph_style(self, val) source code
 
set_shadow(self, val, space=0.2) source code
 
get_shadow_space(self) source code
 
set_color(self, val) source code
 
set_fill_color(self, val) source code
 
get_paragraph_style(self) source code
 
get_shadow(self) source code
 
get_color(self) source code
 
get_fill_color(self) source code
Method Details

__init__(self, obj=None)
(Constructor)

source code 

Initialize the object with default values, unless a source object is specified. In that case, make a copy of the source object.