PGFrameStyle¶
-
class PGFrameStyle¶
Bases:
MemoryBaseInheritance diagram
digraph inheritance503628677a { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "PGFrameStyle" [URL="acron.core.PGFrameStyle.html#acron.core.PGFrameStyle",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "PGFrameStyle" [arrowsize=0.75,style=""]; }-
enum Type¶
-
enumerator T_none = 0¶
-
enumerator T_flat = 1¶
-
enumerator T_bevel_out = 2¶
-
enumerator T_bevel_in = 3¶
-
enumerator T_groove = 4¶
-
enumerator T_ridge = 5¶
-
enumerator T_texture_border = 6¶
-
enumerator T_none = 0¶
- PGFrameStyle.__init__()¶
- PGFrameStyle.assign()¶
- PGFrameStyle.clear_texture()¶
Removes the texture from the frame.
- PGFrameStyle.get_color()¶
Returns the dominant color of the frame.
- PGFrameStyle.get_internal_frame()¶
Computes the size of the internal frame, given the indicated external frame, appropriate for this kind of frame style. This simply subtracts the border width for those frame styles that include a border.
- PGFrameStyle.get_texture()¶
Returns the texture that has been applied to the frame, or NULL if no texture has been applied.
- PGFrameStyle.get_type()¶
Returns the basic type of frame.
- PGFrameStyle.get_uv_width()¶
See
set_uv_width().
- PGFrameStyle.get_visible_scale()¶
Returns the scale factor on the visible representation of the frame, in the X and Y directions. If this scale factor is other than 1, it will affect the size of the visible frame representation within the actual frame border.
- PGFrameStyle.get_width()¶
Returns the width parameter, which has meaning only for certain frame types. For instance, this is the width of the bevel for T_bevel_in or T_bevel_out. The units are in screen units.
- PGFrameStyle.has_texture()¶
Returns true if a texture has been applied to the frame.
- PGFrameStyle.output()¶
- PGFrameStyle.set_color()¶
Sets the dominant color of the frame.
Sets the dominant color of the frame.
- PGFrameStyle.set_texture()¶
Specifies a texture that should be applied to the frame.
- PGFrameStyle.set_type()¶
Sets the basic type of frame.
- PGFrameStyle.set_uv_width()¶
Sets the uv_width parameter, which indicates the amount of the texture that is consumed by the inner bevel–the width in texture space of the amount indicated by
set_width.Sets the uv_width parameter, which indicates the amount of the texture that is consumed by the inner bevel–the width in texture space of the amount indicated by
set_width.
- PGFrameStyle.set_visible_scale()¶
Sets a scale factor on the visible representation of the frame, in the X and Y directions. If this scale factor is other than 1, it will affect the size of the visible frame representation within the actual frame border.
Sets a scale factor on the visible representation of the frame, in the X and Y directions. If this scale factor is other than 1, it will affect the size of the visible frame representation within the actual frame border.
- PGFrameStyle.set_width()¶
Sets the width parameter, which has meaning only for certain frame types. For instance, this is the width of the bevel for T_bevel_in or T_bevel_out. The units are in screen units.
Sets the width parameter, which has meaning only for certain frame types. For instance, this is the width of the bevel for T_bevel_in or T_bevel_out. The units are in screen units.
-
enum Type¶