ClippingAttachment

AttachmentVertexAttachmentspine.attachments.ClippingAttachment (Class)

An attachment with vertices that make up a polygon used for clipping the rendering of other attachments.

Instance Members

spine
endSlot: spine.SlotData


spine
getEndSlot(): spine.SlotData

Clipping is performed between the clipping attachment's slot and the end slot. If null clipping is done until the end of the skeleton's rendering.

Returns
spine.SlotData

spine
setEndSlot(endSlot: spine.SlotData): Void
Name Type
endSlot spine.SlotData

The color of the clipping attachment as it was in Spine, or a default color if nonessential data was not exported. Clipping attachments are not usually rendered at runtime.

Returns
spine.support.graphics.Color

spine
copy(): Attachment
Returns
Attachment

spine
new(name: String): Void
Name Type
name String