Table of Contents

Class Attachment

Namespace
PlumJsonAnimator.Models.SkeletonNameSpace
Assembly
PlumJsonAnimator.dll

Attachment class. Helps to bind slot and res or another functions

public abstract class Attachment : INotifyable, INotifyPropertyChanged
Inheritance
Attachment
Implements
Derived
Inherited Members

Fields

_height

protected int? _height

Field Value

int?

_width

protected int? _width

Field Value

int?

a

public double a

Field Value

double

x

public double x

Field Value

double

y

public double y

Field Value

double

Properties

Name

public string? Name { get; set; }

Property Value

string

Methods

GenerateJSONData()

public abstract AttachmentData GenerateJSONData()

Returns

AttachmentData

GetRes()

public virtual Res? GetRes()

Returns

Res

GetSize()

public Dictionary<string, int?> GetSize()

Returns

Dictionary<string, int?>

SetPos(double, double, double)

public void SetPos(double x, double y, double a)

Parameters

x double
y double
a double

SetSize(double, double)

public void SetSize(double width, double height)

Parameters

width double
height double