MCPcopy Create free account
hub / github.com/Distrotech/reportlab / start_rectangle

Method start_rectangle

tools/pythonpoint/stdparser.py:554–564  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

552
553
554 def start_rectangle(self, args):
555 self.pack_slide('rectangle', args)
556 rect = pythonpoint.PPRectangle(
557 self.ceval('rectangle',args,'x'),
558 self.ceval('rectangle',args,'y'),
559 self.ceval('rectangle',args,'width'),
560 self.ceval('rectangle',args,'height')
561 )
562 rect.fillColor = self.ceval('rectangle',args,'fill')
563 rect.strokeColor = self.ceval('rectangle',args,'stroke')
564 self._curRectangle = rect
565
566
567 def end_rectangle(self):

Callers

nothing calls this directly

Calls 2

pack_slideMethod · 0.95
cevalMethod · 0.95

Tested by

no test coverage detected