Table of Contents

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

localizationService LocalizationService

Fields

BASE_CANVAS_SIZE

public const int BASE_CANVAS_SIZE = 1000

Field Value

int

FPS

public int FPS

Field Value

int

canvasHeight

public int canvasHeight

Field Value

int

canvasWidth

public int canvasWidth

Field Value

int

captureArea

public CaptureArea? captureArea

Field Value

CaptureArea

captureMode

public bool captureMode

Field Value

bool

currentBone

public Bone? currentBone

Field Value

Bone

drawBones

public bool drawBones

Field Value

bool

jsonError

public JsonError jsonError

Field Value

JsonError

jsonSettings

public JsonSerializerSettings jsonSettings

Field Value

JsonSerializerSettings

programExt

public string programExt

Field Value

string

setBasePos

public bool setBasePos

Field Value

bool

theme

public string theme

Field Value

string

workspace

public string workspace

Field Value

string

zoomCanvas

public double zoomCanvas

Field Value

double

Properties

CurrentProject

public Project? CurrentProject { get; set; }

Property Value

Project

Methods

GetDotBoneColor(Bone)

public IImmutableBrush GetDotBoneColor(Bone b)

Parameters

b Bone

Returns

IImmutableBrush

GetLineBoneColor(Bone)

public IImmutableBrush GetLineBoneColor(Bone b)

Parameters

b Bone

Returns

IImmutableBrush

GetParallelOptions()

public ParallelOptions GetParallelOptions()

Returns

ParallelOptions

IsSlotSelected(Slot)

public bool IsSlotSelected(Slot slot)

Parameters

slot Slot

Returns

bool

OnTimeUpdated()

public void OnTimeUpdated()

Events

TimeUpdated

public event Action TimeUpdated

Event Type

Action