Code example for Region

Methods: op

0
     */ 
    @Override 
    public boolean equals(Object o) {
        if (o instanceof PathShape) {
            PathShape pathShape = (PathShape)o;
            Region region = new Region(this.mRegion);
            if (! region.op(pathShape.mRegion, Op.XOR)) {
                return true; 
            } 
        }         
        return false; 
    } 
 
    /** 
     * {@inheritDoc}  
     */ 
    @Override 
    public Shape clone() {
        return new PathShape(this);
    } 
Experience pair programming with AI  Get Codota for Java