mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Added shape properties
This commit is contained in:
1 parent
c0957a3075
commit
07d9a5f784
31 files changed
+373
-114
No files matched your search
@@ -15,10 +15,5 @@ namespace Artemis.Core.Models.Profile.LayerShapes
|
||||
path.AddOval(Layer.Bounds);
|
||||
Path = path;
|
||||
}
|
||||
|
||||
public override void ApplyToEntity()
|
||||
{
|
||||
Layer.LayerEntity.ShapeType = ShapeEntityType.Ellipse;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -20,7 +20,5 @@ namespace Artemis.Core.Models.Profile.LayerShapes
|
||||
public SKPath Path { get; protected set; }
|
||||
|
||||
public abstract void CalculateRenderProperties();
|
||||
|
||||
public abstract void ApplyToEntity();
|
||||
}
|
||||
}
|
||||
@@ -15,10 +15,5 @@ namespace Artemis.Core.Models.Profile.LayerShapes
|
||||
path.AddRect(Layer.Bounds);
|
||||
Path = path;
|
||||
}
|
||||
|
||||
public override void ApplyToEntity()
|
||||
{
|
||||
Layer.LayerEntity.ShapeType = ShapeEntityType.Rectangle;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user