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

commonMain.org.jetbrains.skia.PathVerb.kt Maven / Gradle / Ivy

The newest version!
package org.jetbrains.skia

/**
 * Verb instructs Path how to interpret one or more Point and optional conic weight;
 * manage contour, and terminate Path.
 */
enum class 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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy