gdx-studio

#libgdx#java#desktop

git clone https://git.pyrossh.dev/gdx-studio

An IDE for creating Games using libgdx and Java supported on all platforms Android, iOS, Desktop


src_libs/com/badlogic/gdx/tools/hiero/unicodefont/effects/Effect.java
a62d533 1
/*******************************************************************************
a62d533 2
 * Copyright 2011 See AUTHORS file.
a62d533 3
 * 
a62d533 4
 * Licensed under the Apache License, Version 2.0 (the "License");
a62d533 5
 * you may not use this file except in compliance with the License.
a62d533 6
 * You may obtain a copy of the License at
a62d533 7
 * 
a62d533 8
 *   http://www.apache.org/licenses/LICENSE-2.0
a62d533 9
 * 
a62d533 10
 * Unless required by applicable law or agreed to in writing, software
a62d533 11
 * distributed under the License is distributed on an "AS IS" BASIS,
a62d533 12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
a62d533 13
 * See the License for the specific language governing permissions and
a62d533 14
 * limitations under the License.
a62d533 15
 ******************************************************************************/
a62d533 16
a62d533 17
package com.badlogic.gdx.tools.hiero.unicodefont.effects;
a62d533 18
a62d533 19
import java.awt.Graphics2D;
a62d533 20
import java.awt.image.BufferedImage;
a62d533 21
a62d533 22
import com.badlogic.gdx.tools.hiero.unicodefont.Glyph;
a62d533 23
import com.badlogic.gdx.tools.hiero.unicodefont.UnicodeFont;
a62d533 24
a62d533 25
/** A graphical effect that is applied to glyphs in a {@link UnicodeFont}.
a62d533 26
 * @author Nathan Sweet */
a62d533 27
public interface Effect {
a62d533 28
	/** Called to draw the effect. */
a62d533 29
	public void draw (BufferedImage image, Graphics2D g, UnicodeFont unicodeFont, Glyph glyph);
a62d533 30
}