All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.humbleui.skija.PathVerb Maven / Gradle / Ivy

package io.github.humbleui.skija;

import org.jetbrains.annotations.*;

/**
 * Verb instructs Path how to interpret one or more Point and optional conic weight;
 * manage contour, and terminate Path.
 */
public enum PathVerb {
    /** iter.next returns 1 point */
    MOVE,

    /** iter.next returns 2 points */
    LINE,

    /** iter.next returns 3 points */
    QUAD,

    /** iter.next returns 3 points + iter.conicWeight() */
    CONIC,

    /** iter.next returns 4 points */
    CUBIC,

    /** iter.next returns 1 point (contour's moveTo pt) */
    CLOSE,

    /** iter.next returns 0 points */
    DONE;

    @ApiStatus.Internal public static final PathVerb[] _values = values();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy