mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
v2.7.3.1
This commit is contained in:
@@ -50,7 +50,7 @@ public class GfuiBorderMgr {
|
||||
else if (val == GfuiBorderEdge.Right.Val()) {right = pen; return;}
|
||||
else if (val == GfuiBorderEdge.Top.Val()) {top = pen; return;}
|
||||
else if (val == GfuiBorderEdge.Bot.Val()) {bot = pen; return;}
|
||||
else throw Exc_.new_unhandled(edge);
|
||||
else throw Err_.new_unhandled(edge);
|
||||
}
|
||||
void SyncPens(boolean isAll) {
|
||||
if (isAll) {
|
||||
|
||||
@@ -20,7 +20,7 @@ public class PaintArgs {
|
||||
public GfxAdp Graphics() {return graphics;} GfxAdp graphics;
|
||||
public RectAdp ClipRect() {return clipRect;} RectAdp clipRect;
|
||||
|
||||
public static PaintArgs cast_(Object obj) {try {return (PaintArgs)obj;} catch(Exception exc) {throw Exc_.new_type_mismatch_w_exc(exc, PaintArgs.class, obj);}}
|
||||
public static PaintArgs cast_(Object obj) {try {return (PaintArgs)obj;} catch(Exception exc) {throw Err_.new_type_mismatch_w_exc(exc, PaintArgs.class, obj);}}
|
||||
public static PaintArgs new_(GfxAdp graphics, RectAdp clipRect) {
|
||||
PaintArgs rv = new PaintArgs();
|
||||
rv.graphics = graphics; rv.clipRect = clipRect;
|
||||
|
||||
Reference in New Issue
Block a user