mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Updated Layers (markdown)
parent
038a5f0911
commit
7af9acbbda
43
Layers.md
43
Layers.md
@ -1,32 +1,23 @@
|
|||||||
Once you've used the Profile variable to get a layer, you can access it's properties and functions.
|
Once you've used the Profile variable to get a layer, you can access it's properties and functions.
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
- **Name:** Returns or sets the name of the layer.
|
| Name | Type | Description | Get | Set |
|
||||||
- **Enabled:** Returns or sets whether the layer is enabled or not.
|
| :---------------- | :-------| :-------------------------------------------------------------------| :--:| :--:|
|
||||||
- **IsEvent:** Returns or sets whether the layer is an event or not.
|
| Name | string | Returns or sets the name of the layer. | Yes | Yes |
|
||||||
- **Parent (read only):** Returns the parent layer of the layer.
|
| Enabled | boolean | Returns or sets whether the layer is an event or not. | Yes | Yes |
|
||||||
- **X:** Returns or sets the X position of the layer.
|
| IsEvent | boolean | Returns or sets whether the layer is an event or not. | Yes | Yes |
|
||||||
- **Y:** Returns or sets the Y position of the layer.
|
| Parent | layer | Returns the parent layer of the layer. | Yes | No |
|
||||||
- **Width:** Returns or sets the width of the layer.
|
| X | int | Returns or sets the X position of the layer. | Yes | Yes |
|
||||||
- **Height:** Returns or sets the height of the layer.
|
| Y | int | Returns or sets the Y position of the layer. | Yes | Yes |
|
||||||
- **Contain:** Returns or sets whether the layer's brush must be contained or not.
|
| Width | int | Returns or sets the width of the layer. | Yes | Yes |
|
||||||
- **Opacity:** Returns or sets the opacity of the layer (0.0 to 1.0).
|
| Height | int | Returns or sets the height of the layer. | Yes | Yes |
|
||||||
- **AnimationSpeed:** Returns or sets the animation speed of the layer.
|
| Contain | boolean | Returns or sets whether the layer's brush must be contained or not. | Yes | Yes |
|
||||||
- **AnimationProgress:** Returns or sets the animation progress of the layer.
|
| Opacity | double | Returns or sets the opacity of the layer (0.0 to 1.0). | Yes | Yes |
|
||||||
- **BrushType (read only):** Returns brush type of the layer.
|
| AnimationSpeed | double | Returns or sets the animation speed of the layer. | Yes | Yes |
|
||||||
- **Brush:** Returns or sets brush of the layer.
|
| AnimationProgress | double | Returns or sets the animation progress of the layer. | Yes | Yes |
|
||||||
### Name
|
| BrushType | string | Returns brush type of the layer. | Yes | No |
|
||||||
Returns the name of the current profile.
|
| Brush | brush | Returns or sets brush of the layer. | Yes | Yes |
|
||||||
### Enabled
|
|
||||||
Returns the name of the current profile.
|
|
||||||
### IsEvent
|
|
||||||
Returns the name of the current profile.
|
|
||||||
### Parent
|
|
||||||
Returns the name of the current profile.
|
|
||||||
### X
|
|
||||||
Returns the name of the current profile.
|
|
||||||
### Y
|
|
||||||
Returns the name of the current profile.
|
|
||||||
## Functions
|
## Functions
|
||||||
### GetLayers
|
### GetLayers
|
||||||
Returns all layers within the profile
|
Returns all layers within the profile
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user