# PGFrameStyle

from pandac.PandaModules import PGFrameStyle

Class : PGFrameStyle
Description :

## Inheritance:

PGFrameStyle:

## Methods of PGFrameStyle:

PGFrameStyle (Constructor)
clearTexture
getColor
getInternalFrame
getTexture
getType
getVisibleScale
getWidth
hasTexture
operator =
output
setColor
setTexture
setType
setVisibleScale
setWidth

## Constants in PGFrameStyle:

TNone | (Type)
TFlat | (Type)
TBevelOut | (Type)
TBevelIn | (Type)
TGroove | (Type)
TRidge | (Type)

PGFrameStyle PGFrameStyle::PGFrameStyle(void); Description:

clearTexture void PGFrameStyle::clear_texture(void); Description: Removes the texture from the frame.

getColor LVecBase4f const &PGFrameStyle::get_color(void) const; Description: Returns the dominant color of the frame.

getInternalFrame LVecBase4f PGFrameStyle::get_internal_frame(LVecBase4f const &frame) const; Description: 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.

getTexture Texture *PGFrameStyle::get_texture(void) const; Description: Returns the texture that has been applied to the frame, or NULL if no texture has been applied.

getType PGFrameStyle::Type PGFrameStyle::get_type(void) const; Description: Returns the basic type of frame.

getVisibleScale LVecBase2f const &PGFrameStyle::get_visible_scale(void) const; Description: 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.

getWidth LVecBase2f const &PGFrameStyle::get_width(void) const; Description: 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.

hasTexture bool PGFrameStyle::has_texture(void) const; Description: Returns true if a texture has been applied to the frame.

operator = void PGFrameStyle::operator =(PGFrameStyle const &copy); Description:

output void PGFrameStyle::output(ostream &out) const; Description:

setColor void PGFrameStyle::set_color(float r, float g, float b, float a); Description: Sets the dominant color of the frame.

setTexture void PGFrameStyle::set_texture(Texture *texture); Description: Specifies a texture that should be applied to the frame.

setType void PGFrameStyle::set_type(PGFrameStyle::Type type); Description: Sets the basic type of frame.

setVisibleScale void PGFrameStyle::set_visible_scale(float x, float y); Description: 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.

setWidth void PGFrameStyle::set_width(float x, float y); Description: 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.