Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ getPenColor
Method
getPenColor
recipes/Python/577674_Bitmap_Maker/recipe-577674.py:191–192 ·
view source on GitHub ↗
( self )
Source
from the content-addressed store, hash-verified
189
return
Color.fromLong( self.palette[oldColor] )
190
191
def
getPenColor( self ):
192
return
Color.fromLong( self.palette[self.currentPen] )
193
194
def
plotPoint( self, x, y ):
195
if
( 0 <= x < self.wd and 0 <= y < self.ht ):
Callers
nothing calls this directly
Calls
1
fromLong
Method · 0.45
Tested by
no test coverage detected