Class AnimatedCode
- Namespace
- MLEM.Formatting.Codes
- Assembly
- MLEM.dll
An instance of a formatting code that can be used for a TextFormatter. To add a new formatting code, see Codes
public class AnimatedCode : Code, IGenericDataHolder
- Inheritance
-
AnimatedCode
- Implements
- Derived
- Inherited Members
Constructors
AnimatedCode(Match, Regex)
Creates a new formatting code based on a formatting code regex and its match.
public AnimatedCode(Match match, Regex regex)
Parameters
Methods
EndsHere(Code)
Returns whether this formatting code should end when the passed formatting code starts. If this method returns true, a new Token is started at its position. This is the opposite version of EndsOther(Code).
public override bool EndsHere(Code other)
Parameters
other
CodeThe code that is started here.
Returns
- bool
If this code should end here.