@@ -175,12 +175,17 @@ class LockableBbox(BboxBase):
175175 def locked_y1 (self , y1 : float | None ) -> None : ...
176176
177177class Transform (TransformNode ):
178- input_dims : int | None
179- output_dims : int | None
180- is_separable : bool
181- # Implemented as a standard attr in base class, but functionally readonly and some subclasses implement as such
178+
179+ # Implemented as a standard attrs in base class, but functionally readonly and some subclasses implement as such
180+ @property
181+ def input_dims (self ) -> int | None : ...
182+ @property
183+ def output_dims (self ) -> int | None : ...
184+ @property
185+ def is_separable (self ) -> bool : ...
182186 @property
183187 def has_inverse (self ) -> bool : ...
188+
184189 def __add__ (self , other : Transform ) -> Transform : ...
185190 @property
186191 def depth (self ) -> int : ...
@@ -225,8 +230,6 @@ class Affine2DBase(AffineBase):
225230 input_dims : Literal [2 ]
226231 output_dims : Literal [2 ]
227232 def frozen (self ) -> Affine2D : ...
228- @property
229- def is_separable (self ): ...
230233 def to_values (self ) -> tuple [float , float , float , float , float , float ]: ...
231234
232235class Affine2D (Affine2DBase ):
@@ -255,7 +258,6 @@ class _BlendedMixin:
255258class BlendedGenericTransform (_BlendedMixin , Transform ):
256259 input_dims : Literal [2 ]
257260 output_dims : Literal [2 ]
258- is_separable : bool
259261 pass_through : bool
260262 def __init__ (
261263 self , x_transform : Transform , y_transform : Transform , ** kwargs
@@ -265,8 +267,6 @@ class BlendedGenericTransform(_BlendedMixin, Transform):
265267 def contains_branch (self , other : Transform ) -> Literal [False ]: ...
266268 @property
267269 def is_affine (self ) -> bool : ...
268- @property
269- def has_inverse (self ) -> bool : ...
270270
271271class BlendedAffine2D (_BlendedMixin , Affine2DBase ):
272272 def __init__ (
@@ -279,8 +279,6 @@ def blended_transform_factory(
279279
280280class CompositeGenericTransform (Transform ):
281281 pass_through : bool
282- input_dims : int | None
283- output_dims : int | None
284282 def __init__ (self , a : Transform , b : Transform , ** kwargs ) -> None : ...
285283
286284class CompositeAffine2D (Affine2DBase ):
0 commit comments