Categories > Text > rex_tagtext

Introduction

Displays text with multi-color, font face, or font size with tags.

Links


Categories > Text > rex_tagtextIntroductionLinksDependenceUsagePredefined tagManage imagesInline styleBaselineLock canvasSave & load

Dependence

None

Usage

Predefined tag

Sample capx

  1. Define tag

    • Condition:Define tag (class)

      • Action:Set font face
      • Action:Set font size
      • Action:Set font color
      • Action:Set font style
      • Action:Set stroke
      • Action:Set shadow
      • Action:Set underline
      • Action:Insert image
    • Action:Add by CSS (sample capx)

      • For example, add "red" tag by
       
      red {
          color:#F00;
          font-size:20pt;
          text-shadow:2px 2px 2px #000;
          underline:yellow 5px 0px;
          stroke: blue 2px;
      }
      • Color: color:color

      • Stroke: stroke:color lineWidth

      • Font size: font-size:size

      • Font: font:font-weight font-size font-family

        • font:900 20pt arial,sans-serif
      • Text shadow: text-shadow:offsetX offsetY blur color

      • Underline: underline:color thickness offsetY

      • Insert image: image:key

  2. Use tags in text

    • <class=tag_name> characters </class>

Tags are private for each tag text instance.

Manage images

Images are shared for all tag text and bbcode text.


Inline style

Sample capx

or mix them


Baseline


Lock canvas

Sample capx

When resizing text object,


Save & load

It supports official saving & loading feature, but it will not save images.