Class LayerTransformProperties
Represents the transform properties of a layer
Implements
Inherited Members
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public class LayerTransformProperties : LayerPropertyGroup, IDisposable
Constructors
LayerTransformProperties()
Declaration
public LayerTransformProperties()
Properties
AnchorPoint
The point at which the shape is attached to its position
Declaration
[PropertyDescription(Description = "The point at which the shape is attached to its position", InputAffix = "%", InputStepSize = 0.001)]
public SKPointLayerProperty AnchorPoint { get; set; }
Property Value
Type | Description |
---|---|
SKPointLayerProperty |
Opacity
The opacity of the shape
Declaration
[PropertyDescription(Description = "The opacity of the shape", InputAffix = "%", MinInputValue = 0, MaxInputValue = 100, InputStepSize = 0.1)]
public FloatLayerProperty Opacity { get; set; }
Property Value
Type | Description |
---|---|
FloatLayerProperty |
Position
The position of the shape
Declaration
[PropertyDescription(Description = "The position of the shape", InputAffix = "%", InputStepSize = 0.001)]
public SKPointLayerProperty Position { get; set; }
Property Value
Type | Description |
---|---|
SKPointLayerProperty |
Rotation
The rotation of the shape in degree
Declaration
[PropertyDescription(Description = "The rotation of the shape in degrees", InputAffix = "°", InputStepSize = 0.5)]
public FloatLayerProperty Rotation { get; set; }
Property Value
Type | Description |
---|---|
FloatLayerProperty |
Scale
The scale of the shape
Declaration
[PropertyDescription(Description = "The scale of the shape", InputAffix = "%", MinInputValue = 0)]
public SKSizeLayerProperty Scale { get; set; }
Property Value
Type | Description |
---|---|
SKSizeLayerProperty |
Methods
DisableProperties()
Called when the property group is deactivated (either the profile unloaded or the related brush/effect was removed)
Declaration
protected override void DisableProperties()
Overrides
EnableProperties()
Called when the property group is activated
Declaration
protected override void EnableProperties()
Overrides
PopulateDefaults()
Called before property group is activated to allow you to populate DefaultValue on the properties you want
Declaration
protected override void PopulateDefaults()