Interface ImageFunctions

Hierarchy

  • ImageFunctions

Properties

-moz-element(): StyleObject<{}>

Use an element in the document as an image. Remember to use unprefixed element() in addition.

-moz-linear-gradient(): StyleObject<{}>

Linear gradient. Remember to use unprefixed version in addition.

-moz-radial-gradient(): StyleObject<{}>

Radial gradient. Remember to use unprefixed version in addition.

-moz-repeating-linear-gradient(): StyleObject<{}>

Repeating Linear gradient. Remember to use unprefixed version in addition.

-moz-repeating-radial-gradient(): StyleObject<{}>

Repeating radial gradient. Remember to use unprefixed version in addition.

-o-linear-gradient(): StyleObject<{}>

Linear gradient. Remember to use unprefixed version in addition.

-o-repeating-linear-gradient(): StyleObject<{}>

Repeating Linear gradient. Remember to use unprefixed version in addition.

-webkit-gradient(): StyleObject<{}>

Deprecated. Use modern linear-gradient() or radial-gradient() instead.

-webkit-image-set(): StyleObject<{}>

Provide multiple resolutions. Remember to use unprefixed image-set() in addition.

-webkit-linear-gradient(): StyleObject<{}>

Linear gradient. Remember to use unprefixed version in addition.

-webkit-radial-gradient(): StyleObject<{}>

Radial gradient. Remember to use unprefixed version in addition.

-webkit-repeating-linear-gradient(): StyleObject<{}>

Repeating Linear gradient. Remember to use unprefixed version in addition.

-webkit-repeating-radial-gradient(): StyleObject<{}>

Repeating radial gradient. Remember to use unprefixed version in addition.

cross-fade(): StyleObject<{}>

Indicates the two images to be combined and how far along in the transition the combination is.

element(): StyleObject<{}>

Use an element in the document as an image.

image(): StyleObject<{}>

Provide image fallbacks and annotations.

image-set(): StyleObject<{}>

Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.

linearGradient: ((...params: [direction: CSSAngle | CSSSideOrCorner, ...colorStops: CSSLinearColorStopOrHint[]]) => StyleObject<{}>)

Type declaration

radialGradient: ((...params: [shapeSizeAtPosition: string, ...colors: CSSLinearColorStopOrHint[]]) => StyleObject<{}>)

Type declaration

repeatingLinearGradient: ((...params: [direction: CSSAngle | CSSSideOrCorner, ...colorStops: CSSLinearColorStopOrHint[]]) => StyleObject<{}>)

Type declaration

repeatingRadialGradient: ((...params: [shapeSizeAtPosition: string, ...colors: CSSLinearColorStopOrHint[]]) => StyleObject<{}>)

Type declaration

    • (...params: [shapeSizeAtPosition: string, ...colors: CSSLinearColorStopOrHint[]]): StyleObject<{}>
    • Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.

      Parameters

      Returns StyleObject<{}>

url: ((...params: [url: string, base64: boolean, dataType: string]) => StyleObject<{}>)

Type declaration

    • (...params: [url: string, base64: boolean, dataType: string]): StyleObject<{}>
    • Reference an image file by URL

      Parameters

      • Rest ...params: [url: string, base64: boolean, dataType: string]

      Returns StyleObject<{}>