API Reference
Struct
HtmlResponsiveImageSelection
Result of deterministic responsive image selection.
Inheritance
- ValueType
- HtmlResponsiveImageSelection
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object
Properties
public Boolean HasValue { get; } #Whether a valid candidate was selected.
public HtmlSrcSetCandidate Candidate { get; } #Selected candidate, preserving its authored descriptor.
public Double EffectiveDensity { get; } #Candidate density after normalizing a width descriptor against the selected source size.
public Double SourceSize { get; } #Selected source size in CSS pixels. Density-only sets use the viewport width.
public Boolean UsesDefaultSource { get; } #Whether the selected candidate was synthesized from the separate default source.