### Window Object Source: https://apidoc.krita.maou-maou.fr Manages Krita windows, including views, actions, and theme changes. ```APIDOC ## Window Object ### Description Represents a Krita window and provides methods for managing its content and behavior. ### Methods - **activate**() - **addView**(view) - **createAction**(actionName) - **showView**(view) ### Properties - **activeView** - **activeViewChanged** - **dockers** - **qwindow** - **themeChanged** - **views** - **windowClosed** ``` -------------------------------- ### Swatch Object Source: https://apidoc.krita.maou-maou.fr Provides methods and properties for managing color swatches within Krita. ```APIDOC ## Swatch Object ### Description Represents a color swatch in Krita, allowing manipulation of its properties. ### Methods - **setColor**(color) - **setId**(id) - **setName**(name) - **setSpotColor**(spotColor) ### Properties - **color** - **id** - **isValid** - **name** - **spotColor** ``` -------------------------------- ### View Object Source: https://apidoc.krita.maou-maou.fr Manages the view of the document, including brush settings, colors, and display properties. ```APIDOC ## View Object ### Description Controls the visual representation and interaction within a Krita view. ### Methods - **activateResource**(resource) - **disablePressure**() - **enablePressure**() - **setBackGroundColor**(color) - **setBrushFade**(fade) - **setBrushRotation**(rotation) - **setBrushSize**(size) - **setCurrentBlendingMode**(mode) - **setCurrentBrushPreset**(preset) - **setCurrentGradient**(gradient) - **setCurrentPattern**(pattern) - **setDocument**(doc) - **setEraserMode**(mode) - **setForeGroundColor**(color) - **setGlobalAlphaLock**(lock) - **setHDRExposure**(exposure) - **setHDRGamma**(gamma) - **setPaintingFlow**(flow) - **setPaintingOpacity**(opacity) - **setPatternSize**(size) - **setVisible**(visible) - **showFloatingMessage**(message) ### Properties - **HDRExposure** - **HDRGamma** - **backgroundColor** - **brushFade** - **brushRotation** - **brushSize** - **canvas** - **currentBlendingMode** - **currentBrushPreset** - **currentGradient** - **currentPattern** - **document** - **eraserMode** - **flakeToCanvasTransform** - **flakeToDocumentTransform** - **flakeToImageTransform** - **foreGroundColor** - **globalAlphaLock** - **paintingFlow** - **paintingOpacity** - **patternSize** - **selectedNodes** - **visible** - **window** ``` -------------------------------- ### TransparencyMask Object Source: https://apidoc.krita.maou-maou.fr Provides functionality for transparency masks and their associated selections. ```APIDOC ## TransparencyMask Object ### Description Handles transparency masks and allows interaction with the associated selection. ### Methods - **setSelection**(selectionData) ### Properties - **selection** - **type** ``` -------------------------------- ### TransformMask Object Source: https://apidoc.krita.maou-maou.fr Defines methods and properties for handling transform masks in Krita. ```APIDOC ## TransformMask Object ### Description Manages transformation masks, including their affine transformation and XML representation. ### Methods - **finalAffineTransform**() - **fromXML**(xmlData) - **toXML**() ### Properties - **type** ``` -------------------------------- ### VectorLayer Object Source: https://apidoc.krita.maou-maou.fr Enables manipulation of vector layers, including shapes and SVG data. ```APIDOC ## VectorLayer Object ### Description Represents a vector layer in Krita, supporting operations like adding shapes and converting to SVG. ### Methods - **addShapesFromSvg**(svgData) - **createGroupShape**() - **shapeAtPosition**(position) - **shapesInRect**(rect) - **toSvg**() ### Properties - **isAntialiased** - **shapes** - **type** ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.