.class final enum Lcom/moji/lottie/ShapeStroke$LineCapType;
.super Ljava/lang/Enum;
.source "ShapeStroke.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/lottie/ShapeStroke;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x4018
    name = "LineCapType"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Enum<",
        "Lcom/moji/lottie/ShapeStroke$LineCapType;",
        ">;"
    }
.end annotation


# static fields
.field private static final synthetic $VALUES:[Lcom/moji/lottie/ShapeStroke$LineCapType;

.field public static final enum Butt:Lcom/moji/lottie/ShapeStroke$LineCapType;

.field public static final enum Round:Lcom/moji/lottie/ShapeStroke$LineCapType;

.field public static final enum Unknown:Lcom/moji/lottie/ShapeStroke$LineCapType;


# direct methods
.method static constructor <clinit>()V
    .locals 5

    .line 14
    new-instance v0, Lcom/moji/lottie/ShapeStroke$LineCapType;

    const-string v1, "Butt"

    const/4 v2, 0x0

    invoke-direct {v0, v1, v2}, Lcom/moji/lottie/ShapeStroke$LineCapType;-><init>(Ljava/lang/String;I)V

    sput-object v0, Lcom/moji/lottie/ShapeStroke$LineCapType;->Butt:Lcom/moji/lottie/ShapeStroke$LineCapType;

    .line 15
    new-instance v0, Lcom/moji/lottie/ShapeStroke$LineCapType;

    const-string v1, "Round"

    const/4 v3, 0x1

    invoke-direct {v0, v1, v3}, Lcom/moji/lottie/ShapeStroke$LineCapType;-><init>(Ljava/lang/String;I)V

    sput-object v0, Lcom/moji/lottie/ShapeStroke$LineCapType;->Round:Lcom/moji/lottie/ShapeStroke$LineCapType;

    .line 16
    new-instance v0, Lcom/moji/lottie/ShapeStroke$LineCapType;

    const-string v1, "Unknown"

    const/4 v4, 0x2

    invoke-direct {v0, v1, v4}, Lcom/moji/lottie/ShapeStroke$LineCapType;-><init>(Ljava/lang/String;I)V

    sput-object v0, Lcom/moji/lottie/ShapeStroke$LineCapType;->Unknown:Lcom/moji/lottie/ShapeStroke$LineCapType;

    const/4 v0, 0x3

    .line 13
    new-array v0, v0, [Lcom/moji/lottie/ShapeStroke$LineCapType;

    sget-object v1, Lcom/moji/lottie/ShapeStroke$LineCapType;->Butt:Lcom/moji/lottie/ShapeStroke$LineCapType;

    aput-object v1, v0, v2

    sget-object v1, Lcom/moji/lottie/ShapeStroke$LineCapType;->Round:Lcom/moji/lottie/ShapeStroke$LineCapType;

    aput-object v1, v0, v3

    sget-object v1, Lcom/moji/lottie/ShapeStroke$LineCapType;->Unknown:Lcom/moji/lottie/ShapeStroke$LineCapType;

    aput-object v1, v0, v4

    sput-object v0, Lcom/moji/lottie/ShapeStroke$LineCapType;->$VALUES:[Lcom/moji/lottie/ShapeStroke$LineCapType;

    return-void
.end method

.method private constructor <init>(Ljava/lang/String;I)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    .line 13
    invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V

    return-void
.end method

.method public static valueOf(Ljava/lang/String;)Lcom/moji/lottie/ShapeStroke$LineCapType;
    .locals 1

    .line 13
    const-class v0, Lcom/moji/lottie/ShapeStroke$LineCapType;

    invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;

    move-result-object p0

    check-cast p0, Lcom/moji/lottie/ShapeStroke$LineCapType;

    return-object p0
.end method

.method public static values()[Lcom/moji/lottie/ShapeStroke$LineCapType;
    .locals 1

    .line 13
    sget-object v0, Lcom/moji/lottie/ShapeStroke$LineCapType;->$VALUES:[Lcom/moji/lottie/ShapeStroke$LineCapType;

    invoke-virtual {v0}, [Lcom/moji/lottie/ShapeStroke$LineCapType;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Lcom/moji/lottie/ShapeStroke$LineCapType;

    return-object v0
.end method


# virtual methods
.method toPaintCap()Landroid/graphics/Paint$Cap;
    .locals 2

    .line 19
    sget-object v0, Lcom/moji/lottie/ShapeStroke$1;->a:[I

    invoke-virtual {p0}, Lcom/moji/lottie/ShapeStroke$LineCapType;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 26
    sget-object v0, Landroid/graphics/Paint$Cap;->SQUARE:Landroid/graphics/Paint$Cap;

    return-object v0

    .line 23
    :pswitch_0
    sget-object v0, Landroid/graphics/Paint$Cap;->ROUND:Landroid/graphics/Paint$Cap;

    return-object v0

    .line 21
    :pswitch_1
    sget-object v0, Landroid/graphics/Paint$Cap;->BUTT:Landroid/graphics/Paint$Cap;

    return-object v0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
