Returns the offset of text shadow from text in the frame

Signature:

xOffset, yOffset = SimpleHTML:GetShadowOffset(["element"])

Arguments:

  • element - Name of an HTML element for which to return font information (e.g. p, h1); if omitted, returns information about the frame's default font (string)

Returns:

  • xOffset - Horizontal distance between the text and its shadow (in pixels) (number)
  • yOffset - Vertical distance between the text and its shadow (in pixels) (number)