use super::stroke_dash::StrokeDashShape;
use crate::schema::constants::line_cap::LineCap;
use crate::schema::constants::line_join::LineJoin;
use crate::schema::{
animated_properties::value::FloatValue, shapes::graphic_element::GraphicElementShape,
};
use serde::{Deserialize, Serialize};
#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
pub struct BaseStrokeShape {
#[serde(rename = "lc")]
pub line_cap: Option<LineCap>,
#[serde(rename = "lj")]
pub line_join: Option<LineJoin>,
#[serde(rename = "ml")]
pub miter_limit: Option<f64>,
#[serde(rename = "ml2")]
pub miter_limit_anim: Option<FloatValue>,
#[serde(rename = "w")]
pub width: FloatValue,
#[serde(rename = "d")]
pub dashes: Option<Vec<StrokeDashShape>>,
}