Type Alias style::values::specified::basic_shape::Ellipse

source ·
pub type Ellipse = Ellipse<ShapePosition, NonNegativeLengthPercentage>;
Expand description

A specified ellipse.

Aliased Type§

struct Ellipse {
    pub position: GenericPositionOrAuto<GenericPosition<LengthPercentage, LengthPercentage>>,
    pub semiaxis_x: GenericShapeRadius<NonNegative<LengthPercentage>>,
    pub semiaxis_y: GenericShapeRadius<NonNegative<LengthPercentage>>,
}

Fields§

§position: GenericPositionOrAuto<GenericPosition<LengthPercentage, LengthPercentage>>§semiaxis_x: GenericShapeRadius<NonNegative<LengthPercentage>>§semiaxis_y: GenericShapeRadius<NonNegative<LengthPercentage>>

Implementations§

source§

impl Ellipse

source

fn parse_function_arguments<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>

Trait Implementations§

source§

impl Parse for Ellipse

source§

fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>

Parse a value of this type. Read more