diff --git a/app/src/main/java/org/ntlab/acanthus_client/entities/Stroke.java b/app/src/main/java/org/ntlab/acanthus_client/entities/Stroke.java index 3c574a6..2c31ef5 100644 --- a/app/src/main/java/org/ntlab/acanthus_client/entities/Stroke.java +++ b/app/src/main/java/org/ntlab/acanthus_client/entities/Stroke.java @@ -1,6 +1,30 @@ package org.ntlab.acanthus_client.entities; +import java.util.ArrayList; + //----------------------------------------------------------------- // 筆跡 public class Stroke { + private static int strokeNoCount; //strokeNoを数えるためだけ + private int strokeNo = 0; + private int pen; + private int color; + private int thickness; + private ArrayList positions = new ArrayList<>(); + + public int getStrokeNo() { + return this.strokeNo; + } + public int getPen() { + return this.pen; + } + public int getColor() { + return this.color; + } + public int getThickness() { + return this.thickness; + } + public ArrayList getPositions() { + return this.positions; + } }