| Home | Trees | Index | Help |
|
|---|
| Package wx :: Package lib :: Module graphics :: Class GraphicsPen |
|
object --+
|
GraphicsObject --+
|
GraphicsPen
A Pen is used to define the properties of how a stroke is drawn.
| Method Summary | |
|---|---|
__init__(self,
colour,
width,
style)
| |
Apply(self,
ctx)
| |
Create a Pen directly from a Cairo Pattern object. (Static method) | |
Convert a wx.Pen to a GraphicsPen (Static method) | |
| Property Summary | |
|---|---|
Cap | |
Colour | |
Dashes | |
Join | |
Pattern | |
Stipple | |
Style | |
Width | |
| Static Method Details |
|---|
CreateFromPattern(pattern, width=1)Create a Pen directly from a Cairo Pattern object. This is similar to using a stipple bitmap, but saves a step, and patterns can include gradients, etc. |
CreateFromPen(pen)Convert a wx.Pen to a GraphicsPen |
| Property Details |
|---|
Cap
|
Colour
|
Dashes
|
Join
|
Pattern
|
Stipple
|
Style
|
Width
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:51:39 2009 | http://epydoc.sf.net |