com.vladsch.flexmark.ext.emoji.internal.EmojiOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flexmark-ext-emoji Show documentation
Show all versions of flexmark-ext-emoji Show documentation
flexmark-java extension for emoji shortcuts using Emoji-Cheat-Sheet.com http://www.emoji-cheat-sheet.com/
package com.vladsch.flexmark.ext.emoji.internal;
import com.vladsch.flexmark.ext.emoji.EmojiExtension;
import com.vladsch.flexmark.ext.emoji.EmojiImageType;
import com.vladsch.flexmark.ext.emoji.EmojiShortcutType;
import com.vladsch.flexmark.util.data.DataHolder;
public class EmojiOptions {
public final String rootImagePath;
public final EmojiShortcutType useShortcutType;
public final EmojiImageType useImageType;
public final String attrImageSize;
public final String attrAlign;
public final String attrImageClass;
public EmojiOptions(DataHolder options) {
this.useShortcutType = EmojiExtension.USE_SHORTCUT_TYPE.getFrom(options);
this.attrAlign = EmojiExtension.ATTR_ALIGN.getFrom(options);
this.attrImageSize = EmojiExtension.ATTR_IMAGE_SIZE.getFrom(options);
this.rootImagePath = EmojiExtension.ROOT_IMAGE_PATH.getFrom(options);
this.useImageType = EmojiExtension.USE_IMAGE_TYPE.getFrom(options);
this.attrImageClass = EmojiExtension.ATTR_IMAGE_CLASS.getFrom(options);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy