JScratch
Loading...
Searching...
No Matches
com.jscratch.Costume Class Reference

Public Member Functions

 Costume (String name, String imagePath, int cx, int cy)
 Costume (String name, BufferedImage img, int cx, int cy)
BufferedImage getImage ()
String getName ()
int getRotationCenterX ()
int getRotationCenterY ()

Private Attributes

String name
BufferedImage image
int rotationCenterX
int rotationCenterY

Detailed Description

Definition at line 10 of file Costume.java.

Constructor & Destructor Documentation

◆ Costume() [1/2]

com.jscratch.Costume.Costume ( String name,
String imagePath,
int cx,
int cy )

Definition at line 16 of file Costume.java.

◆ Costume() [2/2]

com.jscratch.Costume.Costume ( String name,
BufferedImage img,
int cx,
int cy )

Definition at line 57 of file Costume.java.

Member Function Documentation

◆ getImage()

BufferedImage com.jscratch.Costume.getImage ( )

Definition at line 64 of file Costume.java.

◆ getName()

String com.jscratch.Costume.getName ( )

Definition at line 68 of file Costume.java.

◆ getRotationCenterX()

int com.jscratch.Costume.getRotationCenterX ( )

Definition at line 72 of file Costume.java.

◆ getRotationCenterY()

int com.jscratch.Costume.getRotationCenterY ( )

Definition at line 76 of file Costume.java.

Member Data Documentation

◆ image

BufferedImage com.jscratch.Costume.image
private

Definition at line 12 of file Costume.java.

◆ name

String com.jscratch.Costume.name
private

Definition at line 11 of file Costume.java.

◆ rotationCenterX

int com.jscratch.Costume.rotationCenterX
private

Definition at line 13 of file Costume.java.

◆ rotationCenterY

int com.jscratch.Costume.rotationCenterY
private

Definition at line 14 of file Costume.java.


The documentation for this class was generated from the following file: