Table Of Contents

Previous topic

_divided

Next topic

DividedShapeControlPoint

This Page

phoenix_title DividedShape

A DividedShape is a rectangle with a number of vertical divisions. Each division may have its text formatted with independent characteristics, and the size of each division relative to the whole image may be specified.

Derived from:
RectangleShape

class_hierarchy Inheritance Diagram

Inheritance diagram for class DividedShape

Inheritance diagram of DividedShape


super_classes Known Superclasses

lib.ogl._basic.RectangleShape


method_summary Methods Summary

__init__  
AttachmentIsValid  
EditRegions Edit the region colours and styles. Not implemented.
GetAttachmentPosition  
GetNumberOfAttachments  
MakeControlPoints  
MakeMandatoryControlPoints  
OnDraw  
OnDrawContents  
OnRightClick  
ResetControlPoints  
ResetMandatoryControlPoints  
SetRegionSizes Set all region sizes according to proportions and this object
SetSize  

api Class API



class DividedShape(RectangleShape)

A DividedShape is a rectangle with a number of vertical divisions. Each division may have its text formatted with independent characteristics, and the size of each division relative to the whole image may be specified.

Derived from:
RectangleShape

Methods



__init__(self, w, h)


AttachmentIsValid(self, attachment)


EditRegions(self)

Edit the region colours and styles. Not implemented.



GetAttachmentPosition(self, attachment, nth = 0, no_arcs = 1, line = None)


GetNumberOfAttachments(self)


MakeControlPoints(self)


MakeMandatoryControlPoints(self)


OnDraw(self, dc)


OnDrawContents(self, dc)


OnRightClick(self, x, y, keys = 0, attachment = 0)


ResetControlPoints(self)


ResetMandatoryControlPoints(self)


SetRegionSizes(self)

Set all region sizes according to proportions and this object total size.



SetSize(self, w, h, recursive = True)