public static Node iconMargin(Bitmap bitmap, Object... nodes) { return new SpanNode(new IconMarginSpan(bitmap), nodes); }
public static Node iconMargin(Bitmap bitmap, @Px Integer padding, Object... nodes) { return new SpanNode(new IconMarginSpan(bitmap, padding), nodes); }
/** * add image bullets with specified padding * * @param bitmap bitmap to add as bullet * @param padding padding between bullet and text * @return Snippety */ public Snippety bullet(Bitmap bitmap, int padding) { spans.add(new IconMarginSpan(bitmap, padding)); return this; }