use of com.herewhite.sdk.domain.MemberState in project whiteboard-android by netless-io.
the class RoomActivity method pencil.
public void pencil(MenuItem item) {
logAction();
MemberState memberState = new MemberState();
memberState.setStrokeColor(new int[] { 99, 99, 99 });
memberState.setCurrentApplianceName(Appliance.PENCIL);
memberState.setStrokeWidth(10);
memberState.setTextSize(10);
mRoom.setMemberState(memberState);
}
use of com.herewhite.sdk.domain.MemberState in project whiteboard-android by netless-io.
the class RoomActivity method shape.
public void shape(MenuItem item) {
logAction();
MemberState memberState = new MemberState();
memberState.setStrokeColor(new int[] { 200, 200, 200 });
// defalut Shape Triangle
memberState.setCurrentApplianceName(Appliance.SHAPE);
// memberState.setShapeType(ShapeType.Rhombus);
memberState.setStrokeWidth(4);
memberState.setTextSize(10);
mRoom.setMemberState(memberState);
}
use of com.herewhite.sdk.domain.MemberState in project whiteboard-android by netless-io.
the class RoomActivity method color.
public void color(MenuItem item) {
logAction();
MemberState memberState = new MemberState();
memberState.setStrokeColor(new int[] { 200, 200, 200 });
memberState.setCurrentApplianceName(Appliance.PENCIL);
memberState.setStrokeWidth(4);
memberState.setTextSize(10);
mRoom.setMemberState(memberState);
}
use of com.herewhite.sdk.domain.MemberState in project whiteboard-android by netless-io.
the class PptResourceCacheActivity method selector.
public void selector(MenuItem item) {
logAction();
MemberState memberState = new MemberState();
memberState.setCurrentApplianceName(Appliance.SELECTOR);
mRoom.setMemberState(memberState);
}
use of com.herewhite.sdk.domain.MemberState in project whiteboard-android by netless-io.
the class PptResourceCacheActivity method textArea.
public void textArea(MenuItem item) {
logAction();
MemberState memberState = new MemberState();
memberState.setStrokeColor(new int[] { 99, 99, 99 });
memberState.setCurrentApplianceName(Appliance.TEXT);
memberState.setStrokeWidth(10);
memberState.setTextSize(10);
mRoom.setMemberState(memberState);
}
Aggregations