package com.bytedance.ies.nle.editor_jni;

import com.bytedance.covode.number.Covode;
import com.bytedance.frameworks.apm.trace.MethodCollector;

public class NLEStyClip extends NLENode {
    public transient long LIZ;
    public transient boolean LIZIZ;

    static {
        Covode.recordClassIndex(29882);
    }

    public void finalize() {
        delete();
    }

    public NLEStyClip() {
        this(NLEEditorJniJNI.new_NLEStyClip());
        MethodCollector.i(13654);
        MethodCollector.o(13654);
    }

    public final NLEPoint LIZ() {
        MethodCollector.i(13660);
        long NLEStyClip_getLeftUpper = NLEEditorJniJNI.NLEStyClip_getLeftUpper(this.LIZ, this);
        if (NLEStyClip_getLeftUpper == 0) {
            MethodCollector.o(13660);
            return null;
        }
        NLEPoint nLEPoint = new NLEPoint(NLEStyClip_getLeftUpper);
        MethodCollector.o(13660);
        return nLEPoint;
    }

    public final NLEPoint LIZIZ() {
        MethodCollector.i(14794);
        long NLEStyClip_getRightUpper = NLEEditorJniJNI.NLEStyClip_getRightUpper(this.LIZ, this);
        if (NLEStyClip_getRightUpper == 0) {
            MethodCollector.o(14794);
            return null;
        }
        NLEPoint nLEPoint = new NLEPoint(NLEStyClip_getRightUpper);
        MethodCollector.o(14794);
        return nLEPoint;
    }

    public final NLEPoint LIZJ() {
        MethodCollector.i(14796);
        long NLEStyClip_getLeftLower = NLEEditorJniJNI.NLEStyClip_getLeftLower(this.LIZ, this);
        if (NLEStyClip_getLeftLower == 0) {
            MethodCollector.o(14796);
            return null;
        }
        NLEPoint nLEPoint = new NLEPoint(NLEStyClip_getLeftLower);
        MethodCollector.o(14796);
        return nLEPoint;
    }

    public final NLEPoint LIZLLL() {
        MethodCollector.i(16600);
        long NLEStyClip_getRightLower = NLEEditorJniJNI.NLEStyClip_getRightLower(this.LIZ, this);
        if (NLEStyClip_getRightLower == 0) {
            MethodCollector.o(16600);
            return null;
        }
        NLEPoint nLEPoint = new NLEPoint(NLEStyClip_getRightLower);
        MethodCollector.o(16600);
        return nLEPoint;
    }

    public NLENode clone() {
        MethodCollector.i(13652);
        long NLEStyClip_clone = NLEEditorJniJNI.NLEStyClip_clone(this.LIZ, this);
        if (NLEStyClip_clone == 0) {
            MethodCollector.o(13652);
            return null;
        }
        NLENode nLENode = new NLENode(NLEStyClip_clone, true);
        MethodCollector.o(13652);
        return nLENode;
    }

    public synchronized void delete() {
        MethodCollector.i(13651);
        long j = this.LIZ;
        if (j != 0) {
            if (this.LIZIZ) {
                this.LIZIZ = false;
                NLEEditorJniJNI.delete_NLEStyClip(j);
            }
            this.LIZ = 0;
        }
        super.delete();
        MethodCollector.o(13651);
    }

    public void swigSetCMemOwn(boolean z) {
        this.LIZIZ = z;
        super.swigSetCMemOwn(z);
    }

    public NLEStyClip(long j) {
        super(NLEEditorJniJNI.NLEStyClip_SWIGSmartPtrUpcast(j), true);
        MethodCollector.i(18932);
        this.LIZIZ = true;
        this.LIZ = j;
        MethodCollector.o(18932);
    }

    public final void LIZ(NLEPoint nLEPoint) {
        MethodCollector.i(13657);
        NLEPoint nLEPoint2 = nLEPoint;
        NLEEditorJniJNI.NLEStyClip_setLeftUpper(this.LIZ, this, NLEPoint.LIZ(nLEPoint2), nLEPoint2);
        MethodCollector.o(13657);
    }

    public final void LIZIZ(NLEPoint nLEPoint) {
        MethodCollector.i(13663);
        NLEPoint nLEPoint2 = nLEPoint;
        NLEEditorJniJNI.NLEStyClip_setRightUpper(this.LIZ, this, NLEPoint.LIZ(nLEPoint2), nLEPoint2);
        MethodCollector.o(13663);
    }

    public final void LIZJ(NLEPoint nLEPoint) {
        MethodCollector.i(14795);
        NLEPoint nLEPoint2 = nLEPoint;
        NLEEditorJniJNI.NLEStyClip_setLeftLower(this.LIZ, this, NLEPoint.LIZ(nLEPoint2), nLEPoint2);
        MethodCollector.o(14795);
    }

    public final void LIZLLL(NLEPoint nLEPoint) {
        MethodCollector.i(16599);
        NLEPoint nLEPoint2 = nLEPoint;
        NLEEditorJniJNI.NLEStyClip_setRightLower(this.LIZ, this, NLEPoint.LIZ(nLEPoint2), nLEPoint2);
        MethodCollector.o(16599);
    }
}
