Contents

Exports related to contents.

interface ContentRectArgs  {
  containerRects: RectTuple
  loading?: boolean
  outputSize: Size
  time: Time
  timeRange: TimeRange
}
interface ContentSvgItemArgs 
extends SvgItemArgs {
  /** Orient content to container area. */
  contentRect: Rect
  /** Optionally apply a transparency level. */
  opacity?: Scalar
  /** Full output size. */
  size: Size
  /** Output SVG for this time. */
  time: Time
  /** The clip time range. */
  timeRange: TimeRange
}
type JsonContent = JsonRecord | OrArray<JsonValue>
type OptionalContent = TemplateContent | void
type TemplateContent = Html | Node | Scalar
interface TemplateContents 
extends Array<TemplateContent> {}
function pointEvaluationScaleContent(
  contentSize: EvalSize, 
  containerSize: EvalSize, 
  scalingPoint: Point | EvalPoint, 
  rounding: Rounding
): EvalPoint
function sizeEvaluationContent(
  tweenSize: EvalSize, 
  intrinsicSize: Size, 
  containerSize: EvalSize, 
  outputSize: Size, 
  sizeAspect: Aspect, 
  rounding: Rounding, 
  sizeKey?: SizeKey
): EvalSize
function sizeEvaluationScaleContent(
  inSize: Size, 
  outSize: EvalSize, 
  size: EvalSize, 
  rounding: Rounding
): EvalSize