gws.plugin.dimension
¶
Provide configuration for the client Dimension module.
Source code: gws.plugin.dimension
Package Contents¶
- class gws.plugin.dimension.Config(*args, **kwargs)¶
Bases:
gws.base.action.Config
Dimension action
- layerUids: list[str] | None¶
snap layer uids
- pixelTolerance: int = 10¶
pixel tolerance
- storage: gws.base.storage.Config | None¶
storage configuration
- class gws.plugin.dimension.Props(*args, **kwargs)¶
Bases:
gws.base.action.Props
Object properties.
- layerUids: list[str] | None¶
- pixelTolerance: int¶
- storage: gws.base.storage.Props¶
- class gws.plugin.dimension.Object¶
Bases:
gws.base.action.Object
Generic action object, the parent of all action objects.
- storage: gws.base.storage.Object | None¶
- configure()¶
Configuration hook.
- props(user)¶
Generate a
Props
struct for this object.- Parameters:
user – The user for which the props should be generated.
- handle_storage(req: gws.WebRequester, p: gws.base.storage.Request) gws.base.storage.Response ¶