pandora2d.types
Objects used as parameters in Pandora2D functions.
Classes
Step
|
Represents the step (distance) between two adjacent pixels in an image |
Origin
|
Coordinates used as origin. |
Module Contents
-
class pandora2d.types.Step[source]
Represents the step (distance) between two adjacent pixels in an image
along the row and column directions.
Attributes
- rowint
Number of pixels to move along the row direction.
Default is 1.
- colint
Number of pixels to move along the column direction.
Default is 1.
-
row: int = 1[source]
-
col: int = 1[source]
-
class pandora2d.types.Origin[source]
Coordinates used as origin.
Attributes
- rowint
index along the row direction.
Default is 0.
- colint
index along the column direction.
Default is 0.
-
row: int = 0[source]
-
col: int = 0[source]