pub type CrossFadeElement = CrossFadeElement<Image, Color, Percentage>;
Expand description
CrossFadeElement = percent? CrossFadeImage
Aliased Type§
struct CrossFadeElement {
pub percent: Optional<Percentage>,
pub image: GenericCrossFadeImage<GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<Length>, NonNegative<LengthPercentage>, GenericPosition<PositionComponent<HorizontalPositionKeyword>, PositionComponent<VerticalPositionKeyword>>, Angle, AngleOrPercentage, Color>, CssUrl, Color, Percentage, Resolution>, Color>,
}
Fields§
§percent: Optional<Percentage>
The percent of the final image that image
will be.
image: GenericCrossFadeImage<GenericImage<GenericGradient<LineDirection, LengthPercentage, NonNegative<Length>, NonNegative<LengthPercentage>, GenericPosition<PositionComponent<HorizontalPositionKeyword>, PositionComponent<VerticalPositionKeyword>>, Angle, AngleOrPercentage, Color>, CssUrl, Color, Percentage, Resolution>, Color>
A color or image that will be blended when cross-fade is evaluated.