List of API changes in Moho 14.2

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Stan
Posts: 219
Joined: Sun Apr 19, 2009 3:22 pm

List of API changes in Moho 14.2

Post by Stan »

Hi all, below is the list of Moho's scripting API changes of the version 14.2, according to the .pkg files.
All changes have been added to mohoscripting.com.

Code: Select all

New Constants:
	MOHO.LDQ_MASKED_LAYERS - masked layers - turns off masking, but also the layers that would have been masked	
	MOHO.BM_LINEAR_DODGE
	MOHO.BM_COLOR_BURN	
	MOHO.PEAK_WEIGHT
	
New Method:
	BoneLayer
		void DrawHighlightedBone(MohoDoc *doc, XGraphics *db, int32 boneID);
	
New Property:
	M_Curve
		AnimVal		fProfileOffset;
		
New Argument:
	M_Shape
		bool HasPositionDependentStyles(int32 fillOrStroke = 2); // 0:fill 1:stroke 2:both
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
hayasidist
Posts: 3841
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: List of API changes in Moho 14.2

Post by hayasidist »

Thanks Stan!

There are also some new channel codes and these are now visible in the website.
Post Reply