Class GlobalState
- Namespace
- PlumJsonAnimator.Common.Constants
- Assembly
- PlumJsonAnimator.dll
Data exchange service
public class GlobalState : INotifyable, INotifyPropertyChanged
- Inheritance
-
GlobalState
- Implements
- Inherited Members
Constructors
GlobalState(LocalizationService)
public GlobalState(LocalizationService localizationService)
Parameters
localizationServiceLocalizationService
Fields
BASE_CANVAS_SIZE
public const int BASE_CANVAS_SIZE = 1000
Field Value
FPS
public int FPS
Field Value
canvasHeight
public int canvasHeight
Field Value
canvasWidth
public int canvasWidth
Field Value
captureArea
public CaptureArea? captureArea
Field Value
captureMode
public bool captureMode
Field Value
currentBone
public Bone? currentBone
Field Value
drawBones
public bool drawBones
Field Value
jsonError
public JsonError jsonError
Field Value
jsonSettings
public JsonSerializerSettings jsonSettings
Field Value
- JsonSerializerSettings
programExt
public string programExt
Field Value
setBasePos
public bool setBasePos
Field Value
theme
public string theme
Field Value
workspace
public string workspace
Field Value
zoomCanvas
public double zoomCanvas
Field Value
Properties
CurrentProject
public Project? CurrentProject { get; set; }
Property Value
Methods
GetDotBoneColor(Bone)
public IImmutableBrush GetDotBoneColor(Bone b)
Parameters
bBone
Returns
- IImmutableBrush
GetLineBoneColor(Bone)
public IImmutableBrush GetLineBoneColor(Bone b)
Parameters
bBone
Returns
- IImmutableBrush
GetParallelOptions()
public ParallelOptions GetParallelOptions()
Returns
IsSlotSelected(Slot)
public bool IsSlotSelected(Slot slot)
Parameters
slotSlot
Returns
OnTimeUpdated()
public void OnTimeUpdated()
Events
TimeUpdated
public event Action TimeUpdated